Skip to content

Commit 9227cd2

Browse files
committed
Add a comment to explain what patterns as List is about
1 parent d0ddca0 commit 9227cd2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎src/resources/pandoc/datadir/init.lua‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1874,6 +1874,9 @@ local function file_exists(name)
18741874
_quarto = {
18751875
processDependencies = processDependencies,
18761876
format = format,
1877+
-- Each list in patterns below contains Lua pattern as table,
1878+
-- where elements are ordered from more specific match to more generic one.
1879+
-- They are meant to be used with _quarto.modules.patterns.match_in_list_of_patterns()
18771880
patterns = {
18781881
latexTableEnvPatterns = pandoc.List({
18791882
latexTablePatternWithPos_table,

0 commit comments

Comments
 (0)