oscarmorrison / md-page

📝 create a webpage with just markdown
https://oscarmorrison.github.io/md-page/
MIT License
1.29k stars 99 forks source link

Improved styles to use Template literals #50

Closed dimshik100 closed 2 years ago

p1ho commented 3 years ago

@oscarmorrison Did some quick tests, if index.html imports from the built file from running npm run build

<script src="./md-page.js"></script><noscript>
<!-- <script src="src/showdown.js"></script>
<script src="src/script.js"></script><noscript> -->

then it is backward compatible (tested in IE11)

So I don't think this will impact backwards compatibility as the instruction asks the user to import the built file, the only people this might impact are devs who try to view index.html in IE11. If they work in modern browsers, this should have no effect.

oscarmorrison commented 3 years ago

sorry @p1ho I missed this notification. cool with me if you happy with it?

oscarmorrison commented 2 years ago

https://www.npmjs.com/package/uglify-es