hash_sub: Increase Rmarkdown headers by one level

View source: R/internal_functions.R

hash_subR Documentation

Increase Rmarkdown headers by one level

Description

Substitute hashed Rmarkdown headers with the next level down down e.g. # to ##

Usage

hash_sub(x, sub_type)

Arguments

x

string object to substitute one # value for another

sub_type

logical or vector, TRUE will substitute all heading levels, FALSE will substitute none, alternatively a vector will allow you to select specific levels of header to substitute.


moj-analytical-services/mojspeakr documentation built on April 13, 2025, 9 p.m.