Closed yhatt closed 10 months ago
lang directive has added since Marpit framework v2.6.0. (https://github.com/marp-team/marpit/pull/376)
lang
By this change, lang attribute in <html> element of templates will determine with the priority in order of below:
<html>
options
options.lang
Closes #542.
lang
directive has added since Marpit framework v2.6.0. (https://github.com/marp-team/marpit/pull/376)By this change,
lang
attribute in<html>
element of templates will determine with the priority in order of below:lang
global directive was defined in Markdown, it would be set aslang
attribute of<html>
.lang
prefers the engine constructor option passed byoptions
in configuration file.options.lang
is not defined,lang
field of configuration file will be used. (Already implemented)lang
field, Marp CLI will fallback to OS locale. This is the most general case for now. (Already implemented)Closes #542.