You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix loading of config file with recent Rubies (Psych 4.0)
Using Ruby 3.2, the following command would fail like this without the fix:
> bin\kramdown --config-file .kramdown.yml -i GFM -o html README.md
.../ruby-3.2-lean/lib/ruby/3.2.0/psych.rb:322:in `safe_load': wrong number of arguments (given 2, expected 1) (ArgumentError)
from .../vendor/ruby/3.2.0/gems/kramdown-2.4.0/bin/kramdown:114:in `<top (required)>'
from .../bin/kramdown.cmd:30:in `load'
from .../bin/kramdown.cmd:30:in `<main>'
0 commit comments