astrapply: Apply a Function on a AST

View source: R/pandocfilters.R

astrapplyR Documentation

Apply a Function on a AST

Description

Apply the function FUN on the abstract syntax tree (AST) obtained from pandoc.

Usage

astrapply(x, FUN, ...)

Arguments

x

a list representing the AST obtained from pandoc.

FUN

the function to be applied to the AST.

...

optional arguments to FUN.

Value

A list containing the modified AST.


pandocfilters documentation built on Aug. 12, 2022, 1:05 a.m.