remark-copy-code-meta-hash-down
v0.1.0
Published
for a code block with a separator (default #), copy that code block down with the fence lang and meta set to what is after the separator.
Downloads
4
Readme
remark-copy-code-meta-hash-up
remark-copy-code-meta-hash-up will, for a Code Block with a separator (default #), copy that code block up with the fence lang and meta set to what is after the separator.
This means the following code:
```bash a # bash b
Hello ${NAME}
```
wll become
```bash b
Hello ${NAME}
```
```bash a
Hello ${NAME}
```
This is not immediately useful but the idea is to use it with remark-unixpipe to generate input and result similar to Jupyter you see / use on notebooks.
Created by @forbesmyester License MIT