Apply a Function on a AST

Share:

Description

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

Usage

1
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.