How to generate flems.html (static web app) from from a flems.io link?
See original GitHub issueIs there a way to convert a flems.io link to a static (self-hosted) flems.html playground? For example, how would I convert
to
<script src="https://flems.io/flems.html" type="text/javascript" charset="utf-8"></script>
<script>
Flems(document.body, {
files: [{
name: 'app.js',
content: 'm.render(document.body, m("h1", "Hello world"))'
}],
links: [{
name: 'mithril',
type: 'script',
url: 'https://unpkg.com/mithril'
}]
})
</script>
So that I can embed it in my offline documentation =)
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Untitled
html ":"xml",skipAttribute:function(D){D.state==Q&&(D.state=B)} ... sourceMapText}}),babel:o=>gr("https://static.flems.io/compilers/babel.min.js").then(()=> ...
Read more >Building your first static site with the Azure Static Web Apps
In the Search Extensions in Marketplace, type Azure Static Web Apps. Select Install for Azure Static Web Apps. The extension installs into ...
Read more >4 Steps to Hosting a Decentralized Static Website using ENS ...
First, you need to get an ENS domain name. ENS, or the Ethereum Name Service, is a domain service that assigns a particular...
Read more >MEGA: The Most Trusted, Best-Protected Cloud Storage
We make secure cloud storage simple and convenient. Create a free MEGA account today. Get started. End-to-end encryption. Your MEGA files and chats...
Read more >Documentation: 15: CREATE TABLE - PostgreSQL
To be able to create a table, you must have USAGE privilege on all column types or ... CREATE TABLE films ( code...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yeah, I guess I jumped the gun there. It’s a bit tricky, since it is interpreted as the end of the current script tag.
Think I solved it with an ugly hack. Try this.
That’s awesome! Appreciate the quick solution.