Below we demonstrate some data markdown (.dmd) capabilities. See https://github.com/capta-studio/blogs1 for all the files used in generating this page, especially README.md.
id,first_name,last_name
1,John,Doe
2,Mary,Jane
We have a CSV file that was randomly generated at Mockaroo.
{
"$schema": "https://vega.github.io/schema/vega-lite/v2.0.json",
"description": "A simple bar chart with embedded data.",
"data": {
"values": [
{"a": "A","b": 28}, {"a": "B","b": 55}, {"a": "C","b": 43},
{"a": "D","b": 91}, {"a": "E","b": 81}, {"a": "F","b": 53},
{"a": "G","b": 19}, {"a": "H","b": 87}, {"a": "I","b": 52}
]
},
"mark": "bar",
"encoding": {
"x": {"field": "a", "type": "ordinal"},
"y": {"field": "b", "type": "quantitative"}
}
}
- Autoconvert URL-like text to links: https://www.capta.studio/
- Subscript: H
20 - Superscript: 29^th^
- Emoji: :D
- Code block with syntax highlight:
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html