Replies: 3 comments 1 reply
-
|
Somewhat related I'm confused about how package.json is used in this context. I assumed that ember would locate package.json in the plugin folder and then install the needed dependencies. But when I look in the node_modules folder, the plugin dependencies aren't there (bbob for example). However, the plugin still seems to be operating as intended. Linebreaks are replaced with Any ideas/clarifications? I'm trying to step through the functionality of bbob and the current plugin structure. |
Beta Was this translation helpful? Give feedback.
-
|
Not sure how discourse/yarn manages plugin dependencies, but I did throw together some simple html to play with the bbob code output. And the two included files are essentially copy-pasted from the ones in the plugin, except I had to remove the helper function from the bbcode-plugin.js, since this just treats it as basic javascript. And seeing this work is when I realized that the rollup.config.js embeds the bbob logic into the bbcode-parser.min.js Let me know if there's a better way to see the bbcode-parser output, but this will work for me for now. |
Beta Was this translation helpful? Give feedback.
-
|
Sorry for the late reply. If you want to see what BBob outputs in the plugin, you put a |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm curious if there is a way to see the html output BBob creates before it is sent to markdown?
Right now I have the plugin running on a local discourse instance, so I can see how it works in combination with markdown, but it would be helpful to have a way to debug BBob directly.
Beta Was this translation helpful? Give feedback.
All reactions