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

Semantic markup: <mark> #252

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

saschaleib
Copy link
Contributor

Changes the "highlighted" menu item so it inserts a instead of the non-semantic span markup.

This also introduces a mechanism for bringing other semantic HTML tags to Wrap and hence to DokuWiki.

Changes the "highlighted" menu item so it inserts a <mark> instead of the non-semantic span markup.

This also introduces a mechanism for bringing other semantic HTML to DokuWiki.
@saschaleib saschaleib marked this pull request as ready for review March 10, 2023 21:51
Added styling for the `<mark>` tag.
@saschaleib
Copy link
Contributor Author

Following the discussion elsewhere, I have modified the hilight CSS to be applied to the <mark>tag as well, to make sure it appears correctly, even on very old browsers that have no built-in support for this tag. This also covers the wrap__dark variant that catches situations where the active template does not style this tag...

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

Successfully merging this pull request may close these issues.

None yet

1 participant