File tree Expand file tree Collapse file tree 3 files changed +30
-1
lines changed Expand file tree Collapse file tree 3 files changed +30
-1
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,15 @@ rdi_current_version = "1.8.0"
8383
8484# Everything below this are Site Params
8585
86+ # Add markdown output
87+ [outputFormats ]
88+ [outputFormats .markdown ]
89+ name = " markdown"
90+ baseName = " index"
91+ mediaType = " text/markdown"
92+ isPlainText = true
93+
8694# Comment out if you don't want the "print entire section" link enabled.
8795[outputs ]
88- section = [" HTML" , " RSS" ] # print
96+ section = [" HTML" , " RSS" , " Markdown" ] # print
97+ page = [" HTML" , " Markdown" ]
Original file line number Diff line number Diff line change 1+ # {{ .Title }}
2+ {{ $content := .RawContent }}
3+ {{ $content := $content | replaceRE "\\ {\\ {< relref \" ([ ^ \" ] +)\" >\\ }\\ }" "https://redis.io$1 " }}
4+ {{ $content }}
Original file line number Diff line number Diff line change 1+ # {{ .Title }}
2+ {{ $content := .RawContent }}
3+ {{ $content := $content | replaceRE "\\ {\\ {< relref \" ([ ^ \" ] +)\" >\\ }\\ }" "https://redis.io$1 " }}
4+ {{ $content }}
5+
6+ <!-- [outputFormats]
7+ [outputFormats.markdown]
8+ name = "markdown"
9+ baseName = "index"
10+ mediaType = "text/markdown"
11+ isPlainText = true
12+
13+ [outputs]
14+ page = ["HTML", "Markdown"]
15+ section = ["HTML"]
16+ home = ["HTML"] -->
You can’t perform that action at this time.
0 commit comments