find_all_tags: Find any markdown or HTML syntax tags within read lines.

View source: R/find_all_tags.R

find_all_tagsR 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.


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