Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrap with a given format #9

Open
mgaitan opened this issue Sep 22, 2022 · 0 comments
Open

wrap with a given format #9

mgaitan opened this issue Sep 22, 2022 · 0 comments

Comments

@mgaitan
Copy link
Collaborator

mgaitan commented Sep 22, 2022

add an option --wrap-as (-w) that wraps the content as a "code block" in a markdown file . For instance -w python will produce a file with ".md" extension and the content

 ```python
 <real content here>
 `` `

I guess this than force the extension for a given snippet, and with #6 we could have several snippets in the same document.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant