如题,里面的代码有html标签,但是有些标签如$for(include-after)$ 表示什么意思?求大神解释!谢谢!! 是rmarkdown的default template的代码。
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml"$if(lang)$ lang="$lang$" xml:lang="$lang$"$endif$if(dir)$ dir="$dir$"$endif[ DISCUZ_CODE_3 ]gt;
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta http-equiv="Content-Style-Type" content="text/css" />
- <meta name="generator" content="pandoc" />
- $for(author-meta)$
- <meta name="author" content="$author-meta$" />
- $endfor$
- $if(date-meta)$
- <meta name="date" content="$date-meta$" />
- $endif$
- $if(keywords)$
- <meta name="keywords" content="$for(keywords)$keywords$sep$, $endfor$" />
- $endif$
- <title>$if(title-prefix)$title-prefix$ – $endif$pagetitle[ DISCUZ_CODE_3 ]lt;/title>
- <style type="text/css">code{white-space: pre;}</style>
- $if(quotes)$
- <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
- $endif$
- $if(highlighting-css)$
- <style type="text/css">
- $highlighting-css$
- </style>
- $endif$
- $for(css)$
- <link rel="stylesheet" href="$css$" type="text/css" />
- $endfor$
- $if(math)$
- $math$
- $endif$
- $for(header-includes)$
- $header-includes$
- $endfor$
- </head>
- <body>
- $for(include-before)$
- $include-before$
- $endfor$
- $if(title)$
- <div id="$idprefix$header">
- <h1 class="title">$title[ DISCUZ_CODE_3 ]lt;/h1>
- $if(subtitle)$
- <h1 class="subtitle">$subtitle[ DISCUZ_CODE_3 ]lt;/h1>
- $endif$
- $for(author)$
- <h2 class="author">$author[ DISCUZ_CODE_3 ]lt;/h2>
- $endfor$
- $if(date)$
- <h3 class="date">$date[ DISCUZ_CODE_3 ]lt;/h3>
- $endif$
- </div>
- $endif$
- $if(toc)$
- <div id="$idprefix$TOC">
- $toc$
- </div>
- $endif$
- $body$
- $for(include-after)$
- $include-after$
- $endfor$
- </body>
- </html>
复制代码