find_theme: Searches YAML head for YAML theme parameters, returning the...

View source: R/find_theme.R

find_themeR Documentation

Searches YAML head for YAML theme parameters, returning the theme if found.

Description

Use on YAML head text only. 'check_compat()' should be used prior to the use of 'find_theme()'. Looks for YAML theme parameter value. Returns the theme if found or 'default' if no theme specified.

Usage

find_theme(yaml = NULL)

Arguments

yaml

A YAML header text string.

Value

The theme value as a character string.


accessrmd documentation built on May 3, 2022, 5:07 p.m.