Code block command #370
osmiumforge
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
Thank you for your suggestion! 🙂 The way I see this, there could be a new
For example, you could have this kind of note file: My note content before code.
```bash
echo "Hello world!"
```
Note content after code. And you could have a shell command like this: {{code_block:language}} -c {{code_block:content}} When executed, it would become: bash -c \"Hello\ world\!\" |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A useful feature would be the ability to run a command on the contents of a fenced code block (based on the language set) and render the output, so that the input can be edited and automatically updated
Beta Was this translation helpful? Give feedback.
All reactions