DONE: Could syntax highlighting for htmx and _hyperscript be implemented?
Posted: 14 Jun 2023 21:13
Their websites are htmx.org and hyperscript.org. As I know there are syntax highlighting already available for VSCode and Sublime Text.
Help and support forum
https://rj-texted.se/Forum/
Instead of JSON, it imports HTML chunks from the server and inserts them into DOM (true REST approach).htmx is a library that allows you to access modern browser features directly from HTML, rather than using javascript.
https://htmx.org/docs/
Code: Select all
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<button hx-get="/confirmed"
_="on htmx:confirm(issueRequest)
halt the event
call Swal.fire({title: 'Confirm', text:'Do you want to continue?'})
if result.isConfirmed issueRequest()">
Click Me
</button>