]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/todo/Fenced_code_blocks___40__from_GitHub_Flavored_Markdown__41__.mdwn
suggestion on formatted times
[ikiwiki.git] / doc / todo / Fenced_code_blocks___40__from_GitHub_Flavored_Markdown__41__.mdwn
index 4839957751b2c2570aec5d889635e913d856c1e0..24552b29f292e66d437806ab656dbccfe5884084 100644 (file)
@@ -20,3 +20,25 @@ main :: IO ()
 main = forever $
   putStrLn "hello, world!"
 """]]
+
+> --[[Joey]]
+
+> > It is not a standard feature (as much as Markdown is [[standardized|Track_Markdown_Standardisation_Efforts]]...) 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]]