rmd_list: Format text as R Markdown list.

View source: R/rmd_lists.R

rmd_listR Documentation

Format text as R Markdown list.

Description

RStudio add-ins which formats text as R Markdown lists. For the first-level lists:

  • rmd_list() - the main function, that make lists;

  • rmd_unordered_list() - unordered list;

  • rmd_numbered_list() - numbered list;

  • rmd_lettered_list() - lettered list (non-capital English letters);

  • rmd_master_list() - master list (which numbering continues throughout the document).

Usage

rmd_list(type = "unordered", level = 1, context = rs_get_context())

rmd_block_quotes()

rmd_line_blocks()

rmd_list_unordered()

rmd_list_unordered_2()

rmd_list_numbered()

rmd_list_numbered_2()

rmd_list_lettered()

rmd_list_lettered_2()

rmd_list_z_example_list()

Arguments

type

(character) the type of list "unordered", "numbered", "lettered", "LETTERED", "master", or list like elements "block quotes" and "line blocks".

level

(integer) the level of list.

context

(class document_context)
Object with context of active RStudio document.

See Also

Other R Markdown formatting add-ins: format_rmd, rmd_code_block(), rmd_equations


GegznaV/addins.rmd documentation built on Aug. 25, 2023, 4:43 p.m.