diff options
| author | Jonas Smedegaard <dr@jones.dk> | 2025-05-24 12:48:58 +0200 |
|---|---|---|
| committer | Jonas Smedegaard <dr@jones.dk> | 2025-05-24 12:48:58 +0200 |
| commit | 642c7c79b20028631cda30ef7562b22455a21231 (patch) | |
| tree | a3a2f56d5bba8d208bb3b044d612f1a2f05671f3 /_filter.qmd | |
| parent | 77739f570ef39d9047232b6bb23cb59082480fa8 (diff) | |
tightne british english grammar
Diffstat (limited to '_filter.qmd')
| -rw-r--r-- | _filter.qmd | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/_filter.qmd b/_filter.qmd index 10fc93c..b746141 100644 --- a/_filter.qmd +++ b/_filter.qmd @@ -2,10 +2,10 @@ ## Misparsing and then cleaning up {#sec-misparsing} -Pandoc offers two ways to implement a syntax extension to Markdown. -Either an import extension or a filter for its AST. -This project went with the latter approach, -which may seem like an odd choice at first. +Pandoc offers two ways to implement a syntax extension to Markdown: +either an import extension or a filter for its AST. +This project chose the latter approach, +which may initially seem unusual. *TODO: About the approach of parsing as Markdown and adjust the fallout, instead of writing an import extension.* @@ -28,13 +28,13 @@ For one simple test, a Lua implementation had an overhead of 2% compared to 35% for a Haskell-based implementation via the JSON interface [@MacFarlane2025, section "Introduction"]. -While efficiency might be nice, -user convenience is important in this project. -General experience using the Pandoc-based Quarto framework indicates, +While efficiency is desirable, +user convenience is prioritised in this project. +General experience using the Pandoc-based Quarto framework indicates that non-Lua filters often require additional quirks like placement in a specific directory, adding a symbolic link or passing its full path, -whereas Lua filters usually works provided only a relative path. +whereas Lua filters usually work provided only a relative path. That issue might be specific to the Quarto framework, but even that aside, Lua-based filters are quite common and the documentation for writing them more detailed |
