lua_remove_filter: Pandoc argument for adding the *lua filter* 'lua_remove.lua'

View source: R/knit_print.R

lua_remove_filterR Documentation

Pandoc argument for adding the lua filter lua_remove.lua

Description

Knitting an RMD file containing styledTables to HTML, then the chunk option tab.add_dummy_table must be set to TRUE, since the default lua filter loft.lua (see pagedown) for adding the list of tables at the report beginning does not recognize ⁠<table>⁠ tags. Therefore, a dummy table is inserted before the current table. The lua filter lua_remove.lua should be applied after loft.lua. This functions returns character vector defining the required pandoc argument in order to add lua_remove.lua to the list of lua filters of pandoc.

Usage

lua_remove_filter()

R-package/styledTables documentation built on Feb. 6, 2024, 2:21 a.m.