Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages