find_all_tags {accessrmd}R Documentation

Find any markdown or HTML syntax tags within read lines.

Description

Check any lines for images or links and return the line numbers and values.

Usage

find_all_tags(lines = NULL, tag = c("img", "link"))

Arguments

lines

Read lines, default is NULL & typically used with output of handle_rmd_path.

tag

The type of tag to be searched. Valid values are "img" or "link".

Value

A named vector with line numbers of any found images and their values.


[Package accessrmd version 1.0.0 Index]