remark-copy-code-meta-hash-up
v0.1.2
Published
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.
Downloads
2
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:
Hello ${NAME}
Hello ${NAME}
... These code blocks look the same, but going to the source you will see the first lang and meta are what is after the hash in the first
```unixpipe env NAME="World" envsubst # shell could be bash
Hello ${NAME}
```
became
```shell could be bash
Hello ${NAME}
```
This documentation was generated by running cat README.src.md | node ./test.js > README.md
Created by @forbesmyester License MIT