aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2025-03-26 07:28:43 +0100
committerJonas Smedegaard <dr@jones.dk>2025-03-26 07:28:43 +0100
commit532001296ea13e4919e5776b85aa5b764498a6e1 (patch)
treef7407afd91fb9eab108dffda0d422ca061e4feaa
parentb4545e4fa7a2d241f1d9ebbfe8a7de403e379c14 (diff)
impreve comments
-rw-r--r--_extensions/ruc-play/semantic-markdown/semantic-markdown.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua b/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua
index a19f83f..fae8343 100644
--- a/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua
+++ b/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua
@@ -122,8 +122,8 @@ end
--- Statements - process inline RDF statements
---
---- This function is a Pandoc hook executed for each Inlines object
---- when iterating through its Abstract Syntax Tree (AST) of a document.
+--- Track enclosure changes and process relevant embedded statements
+--- for each Inlines object in a Pandoc Abstract Syntax Tree (AST).
---
--- ```ASCII-art
--- Simple ontological annotation:
@@ -206,8 +206,10 @@ end
-- First resolve namespace declarations, then statements.
--
-- Although this filter is *not* a full RDF parser,
+-- order matters for the parts we do handle --
-- e.g. namespace resolving is similar to other RDF formats
-- with detailed documented process ordering.
+--
-- @see <https://www.w3.org/TR/turtle/#sec-parsing>
return {
{Para = Namespaces},