Repository navigation
Releases
1.2.1
Added an option to use html breaks
https://www.npmjs.com/package/@extensio/html-syntax-highlighting/v/1.2.1
install using npm i @extensio/html-syntax-highlighting or yarn add @extensio/html-syntax-highlighting then you can import it with
import syntaxHighlight from "@extensio/html-syntax-highlighting";OR
you can import it via unpkg by adding this to your html head:
<script type="module">
import syntaxHighlight from "https://www.unpkg.com/@extensio/html-syntax-highlighting@1.1.0/dist/index.js";
</script>or if you are importing it in a JS file that is linked in a html file:
let syntaxHighlight = (code, options) => {};
import("https://www.unpkg.com/@extensio/html-syntax-highlighting@latest/dist/index.js").then(({default: a}) => {
syntaxHighlight = a;
});Full Changelog: 1.2.0...1.2.1
1.2.0
Added an option to use html breaks
https://www.npmjs.com/package/@extensio/html-syntax-highlighting/v/1.2.0
install using npm i @extensio/html-syntax-highlighting or yarn add @extensio/html-syntax-highlighting then you can import it with
import syntaxHighlight from "@extensio/html-syntax-highlighting";OR
you can import it via unpkg by adding this to your html head:
<script type="module">
import syntaxHighlight from "https://www.unpkg.com/@extensio/html-syntax-highlighting@1.1.0/dist/index.js";
</script>or if you are importing it in a JS file that is linked in a html file:
let syntaxHighlight = (code, options) => {};
import("https://www.unpkg.com/@extensio/html-syntax-highlighting@latest/dist/index.js").then(({default: a}) => {
syntaxHighlight = a;
});Full Changelog: 1.1.0...1.2.0
Version 1.1.0
It is now fixed! It works finnally!
https://www.npmjs.com/package/@extensio/html-syntax-highlighting/v/1.1.0
install using npm i @extensio/html-syntax-highlighting or yarn add @extensio/html-syntax-highlighting or via unpkg by adding this to your html head:
<script type="module">
import syntaxHighlight from "https://www.unpkg.com/@extensio/html-syntax-highlighting@1.1.0/dist/index.js";
</script>What's Changed
- add tests by @riley0122 in #2
- Finished by @riley0122 in #3
New Contributors
- @riley0122 made their first contribution in #2
Full Changelog: https://github.com/extensio-editor/html-syntax-highlighting/commits/1.1.0