diff options
author | Andres Mejia <amejia004@gmail.com> | 2012-02-03 21:14:21 -0500 |
---|---|---|
committer | Andres Mejia <amejia004@gmail.com> | 2012-02-05 14:25:26 -0500 |
commit | d91f726ccc957e1b8ed9e18fb2cf6d3e783ab847 (patch) | |
tree | 69a1c7ec549f51db580ed2c8e44f095457c0fbc6 /doc | |
parent | ca4f08da1afe3dbae32fe342d9cb113171352dfb (diff) | |
download | libarchive-d91f726ccc957e1b8ed9e18fb2cf6d3e783ab847.tar.gz |
Use syntax highlighting markup from Github's gollum to add code blocks.
Fixes issue using <pre> tags for github wiki pages. See
https://github.com/github/gollum, section 'SYNTAX HIGHLIGHTING' for info on
using this markup.
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/mdoc2mediawiki.awk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/mdoc2mediawiki.awk b/doc/mdoc2mediawiki.awk index 16649dae..5fee29c3 100755 --- a/doc/mdoc2mediawiki.awk +++ b/doc/mdoc2mediawiki.awk @@ -95,12 +95,12 @@ function breakline() { # Start an indented display function dispstart() { - linecmd("<pre>") + linecmd("```text") } # End an indented display function dispend() { - linecmd("</pre>") + linecmd("```") } # Collect rest of input line |