diff options
| author | Jonas Smedegaard <dr@jones.dk> | 2025-04-06 19:11:15 +0200 |
|---|---|---|
| committer | Jonas Smedegaard <dr@jones.dk> | 2025-04-07 13:14:45 +0200 |
| commit | ec5b84c029facbc248dbccea9ab89780edc9fa43 (patch) | |
| tree | dd815b88c61bb199542c8e220628d208a6782fcb | |
| parent | f95724d847653bde8858888852eb29ec6ce050a7 (diff) | |
rename variable blocks -> block, reflecting that each call process one Block set
| -rw-r--r-- | _extensions/ruc-play/semantic-markdown/semantic-markdown.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua b/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua index 78480e6..a8ef886 100644 --- a/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua +++ b/_extensions/ruc-play/semantic-markdown/semantic-markdown.lua @@ -145,7 +145,7 @@ end --- @param inlines Markdown with semantic annotations as Inlines --- @returns Markdown stripped of semantic annotations as Inlines --- @see <https://pandoc.org/lua-filters.html#type-inline> -function Statements (blocks) +function Statements (block) -- flags for enclosing stages -- TODO: support nested bracket enclosure @@ -156,7 +156,7 @@ function Statements (blocks) local new_inlines = {} - for i, el in ipairs(blocks.content) do + for i, el in ipairs(block.content) do local pos = 0 -- unenclosed, entering bracketed enclosure |
