@@ -160,6 +160,14 @@ pub fn opts() -> Vec<RustcOptGroup> {
160160 "files to include inline between the content and </body> of a rendered \
161161 Markdown file or generated documentation",
162162 "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" ) ) ,
163171 stable( optopt( "" , "markdown-playground-url" ,
164172 "URL to send code snippets to" , "URL" ) ) ,
165173 stable( optflag( "" , "markdown-no-toc" , "don't include table of contents" ) ) ,
@@ -275,7 +283,10 @@ pub fn main_args(args: &[String]) -> isize {
275283 let external_html = match ExternalHtml :: load (
276284 & matches. opt_strs ( "html-in-header" ) ,
277285 & 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) {
279290 Some ( eh) => eh,
280291 None => return 3 ,
281292 } ;
0 commit comments