aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2025-05-26 17:39:38 +0200
committerJonas Smedegaard <dr@jones.dk>2025-05-26 17:39:38 +0200
commit269e33ae6d7edbd4b1a4832188851d0c0defef05 (patch)
tree370caed9268d42dc2976e0c00862a9011cdcb561
parentce7d5c1981628f0ce369edf4cc3b0403463f828b (diff)
demote FIXMEs to TODOs
-rw-r--r--_conclusion.qmd4
-rw-r--r--_pandoc.qmd4
-rw-r--r--sem-md/sem-md.lua13
3 files changed, 10 insertions, 11 deletions
diff --git a/_conclusion.qmd b/_conclusion.qmd
index 5e67a67..4dd8a8c 100644
--- a/_conclusion.qmd
+++ b/_conclusion.qmd
@@ -151,8 +151,8 @@ and also enables further explorations into more complex workflows.
### Integration with Hypothesis
-*FIXME: Introduce previous semester project
-and elaborate on potential benefits of semanticized annotations.*
+*TODO: Introduce previous semester project
+and elaborate on potential benefits of semanticized annotations*
### Generalizing Quarto metadata {#sec-quarto}
diff --git a/_pandoc.qmd b/_pandoc.qmd
index e6595de..b8c50a8 100644
--- a/_pandoc.qmd
+++ b/_pandoc.qmd
@@ -95,7 +95,7 @@ flowing within the constraints of a block
(inline elements)
or itself a block (block elements).
-*FIXME: below should cover
+*TODO: below should cover
how import and filter APIs ideally and possibly interact with the AST*
The Pandoc filter API,
@@ -178,5 +178,5 @@ in a filter.
This is the approach chosen for this project,
as covered next in @sec-filter.
-*FIXME: also mention (reiterate) when wrapping up above
+*TODO: also mention (reiterate) when wrapping up above
that the filter API is more cumbersome*
diff --git a/sem-md/sem-md.lua b/sem-md/sem-md.lua
index 1b0480d..025942e 100644
--- a/sem-md/sem-md.lua
+++ b/sem-md/sem-md.lua
@@ -170,7 +170,7 @@ local CURIE_DEFAULT <const> = ":"
-- @see <https://pandoc.org/lua-filters.html#global-variables>
--local CURIE_re <const> = re.compile("("..CURIE_PREFIX..")?:(".._REF..")?")
--- FIXME: define RDF context same as RDFa
+-- TODO: define RDF context same as RDFa
-- TODO: maybe support overriding context with a JSON-LD URI
-- @see <https://www.w3.org/2011/rdfa-context/rdfa-1.1>
@@ -228,7 +228,7 @@ local function Namespaces(blocks)
if el.t == "Str"
and el.text == "@default"
then
- -- FIXME: add CURIE to metadata
+ -- TODO: add CURIE to metadata
return {}
end
@@ -237,7 +237,7 @@ local function Namespaces(blocks)
and #el.content == 1
and el.content[1].text == "@default"
then
- -- FIXME: add CURIE to metadata
+ -- TODO: add CURIE to metadata
return {}
end
@@ -247,7 +247,7 @@ local function Namespaces(blocks)
if el.t == "Str"
and el.text:match(proto_pattern)
then
- -- FIXME: add CURIE and URI to metadata
+ -- TODO: add CURIE and URI to metadata
return {}
end
end
@@ -596,9 +596,8 @@ return {
{Block = Statements},
- -- FIXME: add custom declared namespaces in Meta
- -- TODO: maybe add only actively used namespaces
- -- (do same as for unused link definitions)
+ -- TODO: add custom declared namespaces in Meta
+ -- TODO: maybe omit unused namespaces (mimic link definitions)
{ Meta = function(_) return meta; end },
--{ Meta = function(_) return NamespacesToMeta(meta); end },
}