0.1.2 • Published 3 years ago

remark-copy-code-meta-hash-up v0.1.2

Weekly downloads
-
License
GPL-3.0-or-later
Repository
-
Last release
3 years ago

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

```bash 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