Skip to content

wientjes/blogs1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

README

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.

Table from inline CSV

id,first_name,last_name
1,John,Doe
2,Mary,Jane

Table from a CSV file

We have a CSV file that was randomly generated at Mockaroo.

Visualization from inline Vega-Lite

{
  "$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"}
  }
}

Visualization from Vega-Lite file

Standard markdown extensions

  • Autoconvert URL-like text to links: https://www.capta.studio/
  • Subscript: H20
  • Superscript: 29^th^
  • Emoji: :D
  • Code block with syntax highlight:
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html

About

Example blogs written with Capta

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors