Files
elm-markitup/README.md
2025-12-10 21:36:41 +01:00

18 lines
500 B
Markdown

# MarkItUp Custom Element Example
This is a simple demonstration of using [HTML Custom Elements](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements) in Elm.
Inspired by [Luke Westby](https://github.com/lukewestby)'s [Elm Europe talk](https://youtu.be/tyFe9Pw6TVE). The JavaScript custom element code is almost a verbatim copy.
---
![](screenshot.png)
---
To test it:
* git clone and cd into the local copy
* run `./build.sh`
* open "index.html" in a web browser