live
  @   1ˆl–Ü4ý(ÔËmJiA3q§n*bÑ¿ŽþBÒÎr¸ØÜe¶šó×20Ö_‹uÐb&=LtAêÅÕ      1{ "type": "script" }     3ˆÈ�þ[!VnV€ë‚vPÊð?ŸØƒO9×ÅÕ Î    3library(markdown)

# toc example
mkd <- c("# Header 1", "p1", "## Header 2", "p2")

cat(mark(mkd))
cat(mark(mkd, options = "toc"))

# hard_wrap example
cat(mark("foo\nbar\n"))
cat(mark("foo\nbar\n", options = "hard_wrap"))

# latex math example
mkd <- c(
  "`$x$` is inline math $x$!", "", "Display style:", "", "$$x + y$$", "",
  "\\begin{eqnarray}
a^{2}+b^{2} & = & c^{2}\\\\
\\sin^{2}(x)+\\cos^{2}(x) & = & 1
\\end{eqnarray}"
)

cat(mark(mkd))
cat(mark(mkd, options = "-latex_math"))

# tables example (need 4 spaces at beginning of line here)
cat(mark("
First Header  | Second Header
------------- | -------------
Content Cell  | Content Cell
Content Cell  | Content Cell
"))

# but not here
cat(mark("
First Header  | Second Header
------------- | -------------
Content Cell  | Content Cell
Content Cell  | Content Cell
", options = '-table'))

# autolink example
cat(mark("https://www.r-project.org/"))
cat(mark("https://www.r-project.org/", options = "-autolink"))

# strikethrough example
cat(mark("~~awesome~~"))
cat(mark("~~awesome~~", options = "-strikethrough"))

# superscript and subscript examples
cat(mark("2^10^"))
cat(mark("2^10^", options = "-superscript"))
cat(mark("H~2~O"))
cat(mark("H~2~O", options = "-subscript"))

# skip_html tags
mkd = '<style>a {}</style><script type="text/javascript">console.log("No!");</script>\n[Hello](#)'
cat(mark(mkd))
# TODO: wait for https://github.com/r-lib/commonmark/issues/15 to be fixed
# cat(mark(mkd, options = "tagfilter"))
     5ˆÓÒ×486ÏÅÕ æ    5‹      ½”K�Ó0…÷ó+.^°ko_3H3NPI"©“FmBˆ…»‰Õ4Žl—Nùõ¸MG-¨F ¤H~ŸœïÆ1}NƒìSÁûìqé‡w“8 ÒAü8Ã,lFÝ^1J�ÒÚæq»Ýv·Ã®Òf3,íº¡±Zæ¶Ë-'þÝÏù7@KÁ¸k�Zi+áÇ5O –€jc�äb„£Ñ”Lä*GÝÉ5«;Íª¨ãh…±Åº±;Š­…3Å£+](¾Û¿¬ÿwÆnÿ!"[ü÷]íS[ÂWVÉ¢öˆUñ©\`tî”¹ª.*V¯º…\`•õÈç8˜~q:´å~·O”Z,=ò6ð’‡©?akA‘]Ö<:Í˜øf,¬—K)øUñ¼Ïå·ë†a«	…Éµl¬TõIŠñ5W•i˜c½u¥>Wµþ»j°ü‡b¤ãY”da<kKÂ÷§t/úLÄOÝzm!”ZäVéÝ‘£5}]/Lóð<„cJ-‹Ò •/@ÛÔ«Zmës:W¹‹\a4fqšÅÓÄþ48üSÂAo0èôîÜýÁýààŠp8|ó?Q’ñc4OÇAäŽís÷_`Àèîx$ñø³R<ÜÛç;S¡7Ó       7ˆÓÒ×429ÏÅÕ ­    7‹      µ“QoÛ Çßû)}«¯Q³—3µv¤FJ“(õ4UÕ0`.É²O?gj'µš&mOÀñãþ÷?€}ÈWYñ¸ž‘»â~AÖ_nóŒÐ€¯W@^äãÆ4¹œ Ì–”Ð±ÿ°ßï“ýUâ|Ålíz#1Q¨(?cCŒŸÖh¡âH´šÏ;¥¿Wp[Fé)ôÞIÚVà�C‡ ¥uò¬sýÂ¶Œ!Ô-U‚Ò;#5(ovÚCëÔÖjèêÀ`Tˆšpe¥S‡¡–ÉÕ�é�Ey”¦ž3lÈNXSw)E×SÎL[“àeJÁH×b¢{NjSQ",¦ôiž­¾E°Ns&Hãu•ÒÏYº¼^¥9åKÑjâmæ>27”/D@4•Ñê]øa„Ì�÷æ#“ë ½éÑ¸î…hñµUélèEôú1:hükjDÔŸº!äoÍXßlfË"ŸoÆ–¨!ÅKuÿò)_¯;$¹ñZ¢ó‡“ÍQó¼+CýkIN&¼©¤œ�ò&ù7ý�ÓËap|¯Æ¿óöŒY)ž    #   9ˆÓÒ×‚l Ïa–ßi~” T¾R( 	Å �vàS�ÿÖ ô    9‹      ½”QoÚ0Çßû)<?ìŽP¶i­ã©#HC¢€(Ó4Mrl'±HâÈv ìÓÏ!TÐ	´MZ÷”œó?ÿïwç˜¼ŠfÃå×ù}ZÞOÐüóÇÉxˆpàËõ ZFí‡A· Œ¦áÌ¹ê`»Ýv·×]mRX. sE> ëŒâ®+œÀôŠ4kô
‘L2áŸˆ8årIÇ¥��H'tí¬r •Ñ¬Ì0Z;°;q®ùr­« lû%'°"!7ŠKFm¤�B‹:—>™;¥KK 5ñ¶pð%±»¦œà¥­½Ã“Åû
šWC‰ËÐ†å*-Cìt…)QEŠ¬á!Å}ž÷cåº›ª#–»gß½\ÖdSÂPfdâÃpz;#L§¬�ØyÍ½×Üa:aÖ!_£J”Å­øAý¸¼aÔj"i¹QU{”‚G<Eå:·ó¬o<AfNU­Dü®Œ?kÆün1š.£ñ¢m‰h¶8V÷/‰éœY:)ãgªÍî€Ùz¾.c[Ý>…è aTš9Lê ³Ê¿ ¯Ëu©·å)¼oìYìÕ*®ÓÕþ azœüK…ý^ÿm'èwzê7Á;„.¡ïÿ/JÁu]º•VÃrŒ^æÏ-þhû«„@{³ýï+Â~<    1   ;ˆÇ�þY#±¬ÙZu‘À:7�üÿÙ„m<ÏØ_�$å¤ÄyZ™(ZÉ%5¿× <{    ;\name{reprompt}
\alias{reprompt}
\title{Update the documentation of a topic}
\description{Examine the documentation of functions, methods or classes and
  update it with additional arguments, aliases, methods or slots, as
  appropriate. This is an extention of the promptXXX() family of functions.
}
\usage{
reprompt(object, infile = NULL, Rdtext = NULL, final = TRUE, 
         type = NULL, package = NULL, methods = NULL, verbose = TRUE, 
         filename = NULL, sec_copy = TRUE, edit = FALSE, \dots)
}
\arguments{
  \item{object}{the object whose documentation is to be updated, such as
    a string, a function, a help topic, a parsed Rd object, see
    `Details'.}
  \item{infile}{a file name containing Rd documentation, see `Details'.}
  \item{Rdtext}{a character string with Rd formatted text, see `Details'.}
  \item{final}{logical, if \code{TRUE}