@@ -160,6 +160,14 @@ pub fn opts() -> Vec<RustcOptGroup> {
160
160
"files to include inline between the content and </body> of a rendered \
161
161
Markdown file or generated documentation",
162
162
"FILES" ) ) ,
163
+ unstable( optmulti( "" , "markdown-before-content" ,
164
+ "files to include inline between <body> and the content of a rendered \
165
+ Markdown file or generated documentation",
166
+ "FILES" ) ) ,
167
+ unstable( optmulti( "" , "markdown-after-content" ,
168
+ "files to include inline between the content and </body> of a rendered \
169
+ Markdown file or generated documentation",
170
+ "FILES" ) ) ,
163
171
stable( optopt( "" , "markdown-playground-url" ,
164
172
"URL to send code snippets to" , "URL" ) ) ,
165
173
stable( optflag( "" , "markdown-no-toc" , "don't include table of contents" ) ) ,
@@ -275,7 +283,10 @@ pub fn main_args(args: &[String]) -> isize {
275
283
let external_html = match ExternalHtml :: load (
276
284
& matches. opt_strs ( "html-in-header" ) ,
277
285
& matches. opt_strs ( "html-before-content" ) ,
278
- & matches. opt_strs ( "html-after-content" ) ) {
286
+ & matches. opt_strs ( "html-after-content" ) ,
287
+ & matches. opt_strs ( "markdown-before-content" ) ,
288
+ & matches. opt_strs ( "markdown-after-content" ) ,
289
+ render_type) {
279
290
Some ( eh) => eh,
280
291
None => return 3 ,
281
292
} ;
0 commit comments