{"repo":"k5cents/gluedown","free":true,"listed":false,"github":"https://github.com/k5cents/gluedown","clone":"git clone https://github.com/k5cents/gluedown.git","description":"Wrap R vectors in markdown syntax","language":"R","stars":113,"topics":["r","rstats","markdown"],"license":"GPL-3.0","category":"productivity","readme_excerpt":"gluedown The goal of gluedown is to ease the transition from R’s powerful vectors to formatted markdown text. The package uses glue() to wrap character vectors in markdown syntax. With the knitr package, users can print the formatted vectors directly to the body of a markdown document. Installation Install the release version from CRAN: The development version can be installed from GitHub: Usage Use the results='asis' chunk option to print the formatted output to the body of a document. {r results='asis'} md order(x = c(\"Legislative\", \"Executive\", \"Judicial\")) 1. Legislative 2. Executive 3. Judicial Lists Printing vectors as markdown lists was the initial inspiration for the package. Here, we use five different functions to create five elements of a new vector. Then we can print that new vector as a list, including the inline formatting. - Alabama - Alaska - Arizona - Arkansas - California Inline You can also use gluedown to format R inline code results. In this case, our randomly selected state is New Hampshire , which has the abbreviation NH . Pipes All functions are designed to fit within the tidyverse ecosystem and work with pipes. We the People of the United States, in Order to form a more perfect Union, establish Justice, insure domestic Tranquility, provide for the common defence, promote the general Welfare, and secure the Blessings of Liberty to ourselves and our Posterity, do ordain and establish this Constitution for the United States of America. Extensions The pac","default_branch":null,"files":null,"tree":[],"storefront":"/r/k5cents","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/k5cents/gluedown/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}