Nothing
Code
cat_line(rd2html("\\subsection{A}{B}"))
Output
<div class='section' id='a'>
<h3>A</h3>
<p>B</p>
</div>
Code
cat_line(rd2html("\\subsection{A}{\n p1\n\n p2\n }"))
Output
<div class='section' id='a'>
<h3>A</h3>
<p>p1</p>
<p>p2</p>
</div>
Code
cat_line(rd2html("\\subsection{H3}{\\subsection{H4}{}}"))
Output
<div class='section' id='h-'>
<h3>H3</h3>
<div class='section' id='h-'>
<h4>H4</h4>
</div>
</div>
Code
rd2html("\\url{}")
Condition
Error in `stop_bad_tag()`:
! Failed to parse \url{}.
i Check for empty \url{} tags.
Code
rd2html("\\url{a\nb}")
Condition
Error in `stop_bad_tag()`:
! Failed to parse \url{}.
i This may be caused by a \url tag that spans a line break.
Code
rd2html("\\email{}")
Condition
Error in `stop_bad_tag()`:
! Failed to parse \email{}.
i empty {}
Code
rd2html("\\linkS4class{}")
Condition
Error in `stop_bad_tag()`:
! Failed to parse \linkS4class{}.
<dl>
<dt>Label 1</dt>
<dd><p>Contents 1</p></dd>
<dt>Label 2</dt>
<dd><p>Contents 2</p></dd>
</dl>
<dl>
<dt>Label</dt>
<dd><p>Paragraph 1</p>
<p>Paragraph 2</p></dd>
</dl>
<dl>
<dt>Label</dt>
<dd>
<p>This text is indented in a way pkgdown doesn't like.</p></dd>
</dl>
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.