summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndres Mejia <amejia004@gmail.com>2012-02-03 21:14:21 -0500
committerAndres Mejia <amejia004@gmail.com>2012-02-05 14:25:26 -0500
commitd91f726ccc957e1b8ed9e18fb2cf6d3e783ab847 (patch)
tree69a1c7ec549f51db580ed2c8e44f095457c0fbc6 /doc
parentca4f08da1afe3dbae32fe342d9cb113171352dfb (diff)
downloadlibarchive-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-xdoc/mdoc2mediawiki.awk4
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