Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-12-11 | Custom reader: ensure old Readers continue to work | Albert Krewinkel | 1 | -0/+7 | |
Retry conversion by passing a string instead of sources when the `Reader` fails with a message that hints at an outdated function. A deprecation notice is reported in that case. | |||||
2021-12-11 | Custom reader: pass list of sources instead of concatenated text | Albert Krewinkel | 1 | -8/+47 | |
The first argument passed to Lua `Reader` functions is no longer a plain string but a richer data structure. The structure can easily be converted to a string by applying `tostring`, but is also a list with elements that contain each the *text* and *name* of each input source as a property of the respective name. A small example is added to the custom reader documentation, showcasing its use in a reader that creates a syntax-highlighted code block for each source code file passed as input. Existing readers must be updated. | |||||
2021-11-29 | fix typo in custom-readers.md (#7722) | Mauro Bieg | 1 | -1/+1 | |
2021-11-23 | Simplify sample ris reader in doc/custom-readers.md. | John MacFarlane | 1 | -22/+9 | |
Made possible by #7712. | |||||
2021-11-22 | Add an example to custom-readers.md. | John MacFarlane | 1 | -0/+52 | |
2021-11-21 | Rename doc/custom-reader.lua to doc/custom-readers.md | Albert Krewinkel | 1 | -0/+599 | |