pandocfilters: Pandoc Filters for R

The document converter 'pandoc' <http://pandoc.org/> is widely used in the R community. One feature of 'pandoc' is that it can produce and consume JSON-formatted abstract syntax trees (AST). This allows to transform a given source document into JSON-formatted AST, alter it by so called filters and pass the altered JSON-formatted AST back to 'pandoc'. This package provides functions which allow to write such filters in native R code. Although this package is inspired by the Python package 'pandocfilters' <https://github.com/jgm/pandocfilters/>, it provides additional convenience functions which make it simple to use the 'pandocfilters' package as a report generator. Since 'pandocfilters' inherits most of it's functionality from 'pandoc' it can create documents in many formats (for more information see <http://pandoc.org/>) but is also bound to the same limitations as 'pandoc'.

Author
Florian Schwendinger [aut, cre], Kurt Hornik [aut]
Date of publication
2016-04-27 19:51:55
Maintainer
Florian Schwendinger <FlorianSchwendinger@gmx.at>
License
GPL-3
Version
0.1-1
URLs

View on CRAN

Man pages

as.block
Block Objects
as.inline
Inline Objects
astrapply
Apply a Function on a AST
Attr
Attributes
BlockQuote
Block Quote
BulletList
Bullet List
c.block
Combine Block Objects
c.inline
Combine Inline Objects
Citation
Citation
Cite
Citation
Code
Inline Code
CodeBlock
Code Block
Definition
Definition
DefinitionList
Definition List
Div
Generic Block Container with Attributes
document
Create a new Document
Emph
Emphasized Text
filter
Filter JSON-formatted AST
get_pandoc_version
Get Pandoc Version
Header
Header
HorizontalRule
Horizontal Rule
Image
Image
is.block
Block Objects
is.inline
Inline Objects
LineBreak
Hard Line Break
Link
Hyperlink
ListAttributes
ListAttributes
Math
TeX Math
Note
Note
Null
Nothing
OrderedList
Ordered List
pandocfilters_writer
Write the JSON-formatted AST to a connection
Para
Paragraph
Plain
Plain Text
Quoted
Quoted Text
RawInline
Raw Inline
set_pandoc_version
Set Pandoc Version
SmallCaps
Small Caps Text
SoftBreak
Soft Line Break
Space
Inter-word space
Span
Generic Inline Container with Attributes
Str
Text (String)
Strikeout
Strikeout Text
Strong
Strongly Emphasized Text
Subscript
Subscripted Text
Superscript
Superscripted Text
Table
Table
TableCell
Table Cell

Files in this package

pandocfilters
pandocfilters/inst
pandocfilters/inst/examples
pandocfilters/inst/examples/lower_case.md
pandocfilters/NAMESPACE
pandocfilters/R
pandocfilters/R/utility.R
pandocfilters/R/pandocfilters.R
pandocfilters/R/zzz.R
pandocfilters/README.md
pandocfilters/MD5
pandocfilters/DESCRIPTION
pandocfilters/man
pandocfilters/man/as.inline.Rd
pandocfilters/man/DefinitionList.Rd
pandocfilters/man/Plain.Rd
pandocfilters/man/CodeBlock.Rd
pandocfilters/man/Math.Rd
pandocfilters/man/Note.Rd
pandocfilters/man/c.block.Rd
pandocfilters/man/get_pandoc_version.Rd
pandocfilters/man/LineBreak.Rd
pandocfilters/man/Subscript.Rd
pandocfilters/man/SmallCaps.Rd
pandocfilters/man/Null.Rd
pandocfilters/man/pandocfilters_writer.Rd
pandocfilters/man/TableCell.Rd
pandocfilters/man/Table.Rd
pandocfilters/man/ListAttributes.Rd
pandocfilters/man/is.inline.Rd
pandocfilters/man/set_pandoc_version.Rd
pandocfilters/man/astrapply.Rd
pandocfilters/man/Space.Rd
pandocfilters/man/Superscript.Rd
pandocfilters/man/Attr.Rd
pandocfilters/man/OrderedList.Rd
pandocfilters/man/Strikeout.Rd
pandocfilters/man/Str.Rd
pandocfilters/man/Quoted.Rd
pandocfilters/man/is.block.Rd
pandocfilters/man/c.inline.Rd
pandocfilters/man/Link.Rd
pandocfilters/man/SoftBreak.Rd
pandocfilters/man/Span.Rd
pandocfilters/man/filter.Rd
pandocfilters/man/RawInline.Rd
pandocfilters/man/HorizontalRule.Rd
pandocfilters/man/as.block.Rd
pandocfilters/man/Para.Rd
pandocfilters/man/Cite.Rd
pandocfilters/man/Strong.Rd
pandocfilters/man/Div.Rd
pandocfilters/man/Header.Rd
pandocfilters/man/Code.Rd
pandocfilters/man/BlockQuote.Rd
pandocfilters/man/Citation.Rd
pandocfilters/man/Image.Rd
pandocfilters/man/BulletList.Rd
pandocfilters/man/document.Rd
pandocfilters/man/Emph.Rd
pandocfilters/man/Definition.Rd