File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Expand file tree Collapse file tree 3 files changed +18
-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 }}
You can’t perform that action at this time.
0 commit comments