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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Add support for custom wrapper #40

Closed
rytswd opened this issue Aug 24, 2021 · 0 comments 路 Fixed by #77
Closed

[Feature Request]: Add support for custom wrapper #40

rytswd opened this issue Aug 24, 2021 · 0 comments 路 Fixed by #77
Labels
enhancement New feature or request

Comments

@rytswd
Copy link
Member

rytswd commented Aug 24, 2021

馃敭 Relevant Command

importer update, importer generate

馃梻 Language Type

Markdown

馃攷 Request Details

When importing a code snippet from real code base into markdown, we should allow adding an extra wrapper such as code block (e.g. ```).

This may be useful for files other than markdown, but it can start with adding such support for markdown to begin with.

This is likely going to be an Importer Marker Option, and can be something like:

<!-- == imptr: test / begin from: ./some-code.go#1~ wrap: go == -->
<!-- == imptr: test / end == -->

And end up with something like (could not write as is here)
image

It is arguable if wrap is the best word to be used here, though...

@rytswd rytswd added the enhancement New feature or request label Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant