find_alt_lim {accessrmd}R Documentation

Find alt length limit for specific lang values.

Description

Return language specific alt text length limits. Limits are: eng 100, ger 115, kor 90.

Usage

find_alt_lim(lines = NULL, lan = detect_html_lang(lines))

Arguments

lines

Any Rmarkdown or HTML file lines. Typically the output of 'handle_rmd_path()'.

lan

Identify the language of text content. Attempts to find a lang attribute value from the rmd document. Alternatively, use a character string such as "en".

Value

A line limit for alt text.


[Package accessrmd version 1.0.0 Index]