Replies: 2 comments 2 replies
-
|
fun idea - and I could easily see it implemented. It unfortunately (at least in the current proposed state) breaks the simple rule we have of
meaning anything after If could come up with some other variant I could consider it,
That said - there is a lot of assumptions to deal with and check. - like should it honor directives from just the section mentioned or also from the headers? currently jbangs markdown parsing is quite "dumb". Maybe a better way would be to use jbang.jar as a dependency and implement this on top of it instead? |
Beta Was this translation helpful? Give feedback.
-
|
a whole other way - contribute/fork maid and implement java support that uses jbang: https://github.com/egoist/maid#code-block-languages |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
On https://www.jbang.dev/documentation/guide/latest/usage.html#running-markdowns-md-experimental, I saw Markdown support.
I stumbled on maid, which is a Markdown-based task runner:
Idea:
Can I have the ideas combined?
Multiple (!) jbang-based scripts in a single Markdown file?
Example call:
Arguments could be passed, too
Then,
the-thingwould be passed to the build script. See https://github.com/egoist/maid#read-command-line-arguments for "details".It's not about re-implementing
justcompletely 😅Beta Was this translation helpful? Give feedback.
All reactions