Skip to contents

Replaces links to page names in the content column with links to page IDs.

Usage

transform_links(blocks, pages)

Arguments

blocks

A data.table containing blocks with a content column.

pages

A data.table containing page_name and id columns for mapping links.

Value

The updated blocks data.table with links transformed.