Skip to content

Commit

Permalink
Make tinyyaml a standalone CTAN package
Browse files Browse the repository at this point in the history
  • Loading branch information
Witiko committed Apr 24, 2023
1 parent 109c1b5 commit c768ef0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ Refactoring:
- Use `\prg_new_conditional:Nnn` to define `\@@_if_option:n`.
(#289)

Libraries:

- Make tinyyaml a standalone CTAN package. (contributed by
@zepinglee, #218, #290)

## 2.22.0 (2023-04-02)

Development:
Expand Down
2 changes: 1 addition & 1 deletion libraries/lua-tinyyaml
4 changes: 3 additions & 1 deletion markdown.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -1203,7 +1203,8 @@ end)()
% (subset) parser that is used to read \acro{yaml} metadata when the
% \Opt{jekyllData} option is enabled. We carry a copy of the library
% in file `markdown-tinyyaml.lua` distributed together with the Markdown
% package.
% package. <!-- TODO: Stop carrying the copy of the library in TeX Live
% 2023. -->
%
% \end{markdown}
% \iffalse
Expand Down Expand Up @@ -27878,6 +27879,7 @@ M.extensions.jekyll_data = function(expect_jekyll_data)
, function(s, i, text) -- luacheck: ignore s i
local data
local ran_ok, _ = pcall(function()
-- TODO: Replace with `require("tinyyaml")` in TeX Live 2023
local tinyyaml = require("markdown-tinyyaml")
data = tinyyaml.parse(text, {timestamps=false})
end)
Expand Down

0 comments on commit c768ef0

Please sign in to comment.