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

Markdown feature addition: --lang #9

Closed
saminarp opened this issue Sep 28, 2022 · 1 comment
Closed

Markdown feature addition: --lang #9

saminarp opened this issue Sep 28, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@saminarp
Copy link
Owner

As specified in the lab 3 instructions: 📝

  • Add an optional -l, --lang, and/or \l flag, which indicates the language to use when generating the lang attribute on the root element.
  • For example, --lang fr would mean that the HTML documents are in French, and would include , while -l pt-BR would mean the text is using Brazilian Portuguese: . By default, use en-CA for Canadian English.

Why is this important? ❓

The HTML lang attribute specifies the language of the text content used on a web page.
Search engines use the lang attribute to return language-specific results to users. It also signals screen readers’ pronunciation engine to be able to switch to a different language.

@saminarp saminarp added the enhancement New feature or request label Sep 28, 2022
@saminarp saminarp self-assigned this Sep 28, 2022
@saminarp
Copy link
Owner Author

Issue closed by 7546901

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

No branches or pull requests

1 participant