Skip to content

Add meta tags#108

Open
maranget wants to merge 2 commits into
masterfrom
add-meta-tags
Open

Add meta tags#108
maranget wants to merge 2 commits into
masterfrom
add-meta-tags

Conversation

@maranget

@maranget maranget commented May 26, 2026

Copy link
Copy Markdown
Owner

Writing \newmeta{attrs} in the document preamble adds a meta element with attributes attrs to the HTML header. For instance:

\newmeta{name="viewport" content="width=device-width, initial-scale=1"}

Adds the following element:

<meta name="viewport" content="width=device-width, initial-scale=1">

maranget added 2 commits May 26, 2026 14:10
Writing `\newmeta{attrs}` in the document preamble
add a `meta` element with attributes `attrs` to the
HTML header. For instance:
```
\addmeta{name="viewport" content="width=device-width, initial-scale=1"}
```
Adds the following element:
```
<meta name="viewport" content="width=device-width, initial-scale=1">
```
@xavierleroy

Copy link
Copy Markdown
Contributor

Looks very good, thanks!

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.

2 participants