mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-11-09 19:20:09 +01:00
feat: render actual elements in markdown cheatsheet instead of labels
Replace text labels (h1, bold, italic) with rendered HTML in the Rendu column: headings, strong, em, del, code, links, blockquote, lists, hr, sup, small
This commit is contained in:
1 parent
4a2b000fca
commit
38ef550397
16 files changed
+577
-103
No files matched your search
@@ -649,5 +649,9 @@ document.addEventListener('htmx:afterSwap', function(evt) {
|
||||
var otScript = document.createElement('script');
|
||||
otScript.src = '<?= App::assetV('/assets/js/vendor/overtype.min.js') ?>';
|
||||
document.head.appendChild(otScript);
|
||||
|
||||
var handlerScript = document.createElement('script');
|
||||
handlerScript.src = '<?= App::assetV('/assets/js/app/autosave-handler.js') ?>';
|
||||
document.head.appendChild(handlerScript);
|
||||
})();
|
||||
</script>
|
||||
Reference in new issue
Block a user