]> sipb.mit.edu Git - ikiwiki.git/commitdiff
meh - already supported, but buggy!
authorhttps://id.koumbit.net/anarcat <https://id.koumbit.net/anarcat@web>
Sat, 13 Apr 2013 15:15:11 +0000 (11:15 -0400)
committeradmin <admin@branchable.com>
Sat, 13 Apr 2013 15:15:11 +0000 (11:15 -0400)
doc/todo/Fenced_code_blocks___40__from_GitHub_Flavored_Markdown__41__.mdwn

index cc6ffa67b44ac77396885348958c16351a1ebcac..4ad1fb9f0712e8e57462a6c8d7237190fde2459c 100644 (file)
@@ -26,3 +26,19 @@ main = forever $
 > > It is not a standard feature (as much as Markdown is [standardized](http://www.codinghorror.com/blog/2012/10/the-future-of-markdown.html)...) But it does allow for [syntax hilightning](https://help.github.com/articles/github-flavored-markdown) too, just tag the language name after the backticks. It *seems* that Discount supports github-style backtick format (as well as Pandoc `~~~~` format) but doesn't allow the keyword argument.
 > > 
 > > I strongly support this feature. --[[anarcat]]
+> > 
+> > In fact, it turns out that it already works here!
+> >
+> > ~~~~
+> > this is a pandoc-style fenced in code block
+> > this is another line
+> > ~~~~
+> > 
+> > github-style backticks, however, do not add a wrapping `<pre>` block for some reason:
+> >
+> > ```
+> > this is a github-style fenced in code block
+> > this is another line
+> > ```
+> >
+> > ... maybe a bug in Discount... --[[anarcat]]