GNOME Bugzilla – Bug 723696
Add support for blockquote
Last modified: 2014-02-06 12:56:05 UTC
Here are patches to enable using > markdown for block quotes.
Created attachment 268185 [details] [review] Add support for markdown blockquotes
Created attachment 268186 [details] [review] Add a more complex blockquote test
Created attachment 268187 [details] [review] Use blockquote instead of note
Review of attachment 268185 [details] [review]: ::: gtkdoc-mkdb.in @@ +4709,3 @@ + if ($md_block->{"type"} eq "quote") { + if (!$md_block->{"interrupted"}) { + $line =~ s/^[ ]*>[ ]?//; instead of [ ]* you can use \s* also below. ::: tests/gobject/src/gobject.c @@ +49,3 @@ * + * > This is a section with a heading without a trailing hash + * > mark. And content in a note block. I'd probably have a plain para + the note: This is a section with a heading without a trailing hash mark. > And this is an important note.
Other than that, looks good too me. Please squash the patches. The 3rd could go into the first and while the 2nd has the 'tests' the first one has some as well. After that, please push.
Attachment 268185 [details] pushed as 81f4447 - Add support for markdown blockquotes