-
-
Notifications
You must be signed in to change notification settings - Fork 379
Snippet Injection
cinwell.li edited this page Jun 6, 2021
·
3 revisions
Often you want to inject HTML snippets into sharing pages. Most analytics providers, comment services will give you an HTML snippet and ask you to add it to every page on your site. Notea lets you to inject HTML snippets into at the end of the </article>
tag on the sharing page.
Injection | Result |
---|---|
The tailwindcss is a CSS framework. You can use it, or write your own style.
Injection | Result |
---|---|
You can get the variables of the current sharing page and provide them to third-party plugins.
Injection | Result |
---|---|
Available variables: id
, title
, pid
, content
, date
, deleted
, shared
, pinned
, url