-
Description
# Capture-JS
Capture-JS will use the json you can edit here and convert it into a live HTML component
```json {{< capture-js >}}
{name: "zach"}
``` Edit: it looks like the lightbox filter is a good example. and the addition of |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Sorry, I don't get what your shortcode is supposed to do. What does "capture" mean? I suggest to take a deeper look at the documentation: Note that the syntax you showed is really a bad idea. Use |
Beta Was this translation helpful? Give feedback.
-
As per @mcanouil above the basics of what I want are the following. Note this is a filter. ```{.json .livemol}. // <--- note the `.livemol` tag
{name: "zach"}
``` -- _extensions/livemol/livemol.lua
function CodeBlock(el)
if el.classes and el.classes:includes("livemol") then. -- <--- process blocks with this tag
....
end
end |
Beta Was this translation helpful? Give feedback.
As per @mcanouil above the basics of what I want are the following. Note this is a filter.