Load Templates/Archive from local directory
Extend UI sidebar
- the markdown's editor sidebar now starts with the files
- load all files from static/archive and static/templates dynamically into the ui sidebar
- fix "save as" titles
- render html files as well (the editor bar is still in markdown mode while the styles interfere with rendering the html in the outputer, works best if you download the file as html to preview it)
After testing out a few ways of doing it, the current approach uses the webpack directory-loader with a files-config, also in order to load the file contents I had to go for webpack's raw-loaderwith the following rules
Posted on Utopian.io - Rewarding Open Source Contributors

Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
yes .. well .. i like the color that i very impress the picture, it is very dazzling once, not exactly but sure ,, i agree good ,, good ,,,
This post has received gratitude of 4.46 % from @appreciator thanks to: @decebal2dac.
Hey @decebal2dac I am @utopian-io. I have just upvoted you!
Achievements
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x