From d444d081d5900385238869e8d0e2dca9e7d482dd Mon Sep 17 00:00:00 2001 From: Enrico Sacchetti Date: Wed, 7 Nov 2018 15:53:22 -0500 Subject: [PATCH] Feat/markdown tables (#665) * docs(contributing): add yarn to one-time docker use * feat(markdown): add lists and tables - add h2 example --- CONTRIBUTING.md | 2 +- markdown.md | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 91970dbdc..48d45207c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -27,7 +27,7 @@ First time setup: docker-compose build # First-time setup -docker-compose run --rm web bundle install +docker-compose run --rm web bundle install && yarn ``` Starting the server: diff --git a/markdown.md b/markdown.md index 0e1e397d0..01b8fe565 100644 --- a/markdown.md +++ b/markdown.md @@ -14,6 +14,7 @@ weight: -1 ```markdown # h1 +## h2 ### h3 ``` @@ -43,6 +44,18 @@ __bold__ `code` ``` +### Lists + +```markdown +* Item 1 +* Item 2 +``` + +```markdown +- Item 1 +- Item 2 +``` + ### Links ```markdown @@ -109,3 +122,17 @@ codeFences.withLanguage() ```markdown **** ``` + +### Tables + +```markdown +| Column 1 Heading | Column 2 Heading | +| ---------------- | ---------------- | +| Some content | Other content | +``` + +```markdown +Column 1 Heading | Column 2 Heading +--- | --- +Some content | Other content +```