Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add lang attribute #11

Closed
NeilAn99 opened this issue Sep 29, 2022 · 1 comment
Closed

Add lang attribute #11

NeilAn99 opened this issue Sep 29, 2022 · 1 comment

Comments

@NeilAn99
Copy link
Owner

Add a lang attribute to the root HTML element, which indicates the language for the HTML to use.

@NeilAn99
Copy link
Owner Author

NeilAn99 commented Sep 29, 2022

HTML files now contain the correct lang attribute in the root HTML element. For example, issuing the command:
nan1-ssg -i markdownTest.md -l fr
will yield the following HTML file with "fr" as the lang attribute:
image
By default, the lang attribute will be en-CA (Canadian English).

Closed by f277bc4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant