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