Comments (3)
from imba.io.
Had this same idea Eric!! You beat me by two years π
I'd like to implement a [compiled]
flag for snippets and figure out how to elegantly display the compiled code.
```imba
# [preview=console] [compiled]
console.log "test"
```
I added compiled JS to a new tab manually a few times, but it feels like there must be a way to display the compiled code without making the user click, maybe directly attached to the snippet in a slightly smaller font or something.
from imba.io.
@familyfriendlymikey I recall Sindre had a hidden feature somewhere that displayed compiled imba code as a comment in the end of the current file. (vscode ext or scrimba editor, don't remember)
from imba.io.
Related Issues (20)
- Need an idiomatic way to insert HTML text
- Document `imbaconfig.json` and its theming capabilities HOT 1
- Highlight tag fragments correctly
- document new global concept HOT 2
- document tints HOT 1
- document hotkeys HOT 1
- Wrong output in "Dynamic keys" example code
- Call stack exceeded when using quick open HOT 1
- Missing 404 page
- List Imba starters for different server hosts (Netlify, GitHub Pages, etc)
- Host site in Netlify + enable previews in PRs HOT 1
- Hiding end of code with `# ---` adds padding to bottom of snippet
- `Error: Cannot find module 'marked'` HOT 5
- Add syntax for alternate "or" shortcuts to docs. HOT 1
- 1 of 2 Clock example look weird when resized
- Write docs for deployment with stuff like vercel, fly.io, etc. HOT 1
- Write static deployment guide that doesn't require Vite?
- palette affects cmd+f even when hidden
- safari display artifacts
- Change handwriting font in docs to some more readable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imba.io.