Skip to content

Commit d7b36c1

Browse files
author
Tom Clark
committed
Test kramdown's options syntax on GitHub
1 parent 983e303 commit d7b36c1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pages/test.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ title: Test
77
Javascript Testing
88
==================
99

10+
Testing kramdown's options syntax:
11+
Disabling markdown: {::nomarkdown}**I'm weak, not strong!**{:/}!
12+
1013
This is a test of the javascript-based filtering code.
1114
The idea is that there are sections with `data-facets={"some": "json"}` data attributes that are used to list key-value pairs that javascript uses to "facet" the document with.
1215

@@ -56,16 +59,14 @@ If you clicked on the "Source (1)" `li` then you should see this:
5659
That is, "Source" goes to the top of the list and the other lists are filtered.
5760

5861
<section class="tutorial" data-facets='{"Operating System": "OS X", "Package Management": "Homebrew"}'>
59-
<hr />
6062
This is the tutorial written for _OS X_ and _Homebrew_.
6163
It has data attributes on the preceeding `hr` tag.
6264
</section>
6365

6466
<section class="tutorial" data-facets='{"Operating System": "OS X", "Package Management": "Macports"}'>
65-
<hr />
6667
This is the tutorial written for _OS X_ and _Source_.
6768
It has data attributes on a surrounding section tag (written in html).
68-
It uses kramdown's `markdown="1"` attribute to enable markdown processing within an html tag.
69+
It uses kramdown's parse_block_html option to enable markdown processing within an html tag.
6970

7071
Here's some code:
7172

@@ -77,6 +78,5 @@ Yay!
7778
</section>
7879

7980
<section class="tutorial" data-facets='{"Operating System": "Ubuntu", "Package Management": "Source"}'>
80-
<hr />
8181
This is the tutorial written for _Ubuntu_ and _Source_.
8282
</section>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy