Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 904 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 904 Bytes

Html-Example-Code-Tag

Adds tags to make it easy bind code snippeds in your website

An example:

<script src="https://mods-code.github.io/Html-Example-Code-Tag/Main.js"></script>

<examplecode lang=Python">
    Hello,
    this is a test of my api.
    🧑🏼Ä®
    Even special characters and emojis work!
</examplecode>

<examplecode lang="Documentary" width="1000px" height="200px" fontSize="15px" theme="dark">
    You can also add multiple example code tags.
    long is my attribute to define a language. My language is "Documentary".
    But you can also work without attributes 🙂.
</examplecode>
<examplecode lang="Documentary" width="1000px" height="200px" fontSize="15px" theme="light">
    Here in light mode.
</examplecode>

Example under: https://code-tag.maxttc.me/example.html