You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if you would consider this as part of the scope of what Boostnote does, however I would really love to see the ability to "run" code snippit notes in an iFrame, akin to a simplified codepen or jsbin, and one step further still, to be able to embed these snippits into Markdown notes.
I use Boostnote to document style guides, coding practices, and component functionality etc, all of which would be immensely more useful if I could have actual working examples in the documentation, which just sounds like a perfect fit for Boostnote. The snippit note feature is largely unusable for me without this capability, because in order to show how this works in the documentation I need to create a separate codepen and link to it, in which I mine as well just leave all the code on codepen instead of having to maintain it in two seperate places, and makes it harder to skim through examples.
The text was updated successfully, but these errors were encountered:
While it would be a neat feature to have js-enabled files... it's definitely something that should be approached carefully. The code snippet must actually be sand-boxed (unlike current JS running in BoostNote as per #1443 ). Even without the code execution/sandbox escape, it's going to be hard to implement in a safe way.
I think of it like macro-enabled office documents. If JS gets officially supported, perhaps a banner should show before executing any scripts letting the user know that a "live" markdown file is being used, with some kind of warning? ex:
I don't know if you would consider this as part of the scope of what Boostnote does, however I would really love to see the ability to "run" code snippit notes in an iFrame, akin to a simplified codepen or jsbin, and one step further still, to be able to embed these snippits into Markdown notes.
I use Boostnote to document style guides, coding practices, and component functionality etc, all of which would be immensely more useful if I could have actual working examples in the documentation, which just sounds like a perfect fit for Boostnote. The snippit note feature is largely unusable for me without this capability, because in order to show how this works in the documentation I need to create a separate codepen and link to it, in which I mine as well just leave all the code on codepen instead of having to maintain it in two seperate places, and makes it harder to skim through examples.
The text was updated successfully, but these errors were encountered: