From 093eed14225bc9ef4664d03fdc965fa7e2acb7a1 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Mon, 13 Mar 2023 14:33:44 -0600 Subject: clarify that inline anchors in paragraphs and list items are cataloged during initial parse; must be escaped with backslash --- docs/modules/api/pages/catalog-assets.adoc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'docs/modules/api') diff --git a/docs/modules/api/pages/catalog-assets.adoc b/docs/modules/api/pages/catalog-assets.adoc index 663c78fa..04db7d30 100644 --- a/docs/modules/api/pages/catalog-assets.adoc +++ b/docs/modules/api/pages/catalog-assets.adoc @@ -20,8 +20,13 @@ The processor always cataloged the following assets, regardless of this setting: * block or inline anchors (key: `:refs`) * footnotes (key: `:footnotes`) -Inline elements are not cataloged until conversion. +Generally speaking, inline elements are not cataloged until conversion. Therefore, they're only available after the document has been converted, not after it has been loaded. +However, inline anchors are an exception. + +Inline anchors in paragraphs and list items are cataloged when the document is parsed. +However, the scan for inline anchors happens before inline passthroughs are processed. +Therefore, to escape an inline anchor, you must use a backslash instead of an inline passthrough. == Set :catalog_assets option -- cgit v1.2.3