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

RfE: Extract type specific includes from embedded source #1458

Open
ascheman opened this issue Oct 29, 2023 · 0 comments
Open

RfE: Extract type specific includes from embedded source #1458

ascheman opened this issue Oct 29, 2023 · 0 comments

Comments

@ascheman
Copy link

Why the new feature should be added

As a power user of the plugin I would like to get a respective file extension (and title) when extracting embedded source code, in particular PlantUML.

How the new feature should work

When extracting an include from a source block it currently looks like this:

image

I'd rather like to get a type specific file name (e.g., puml for PlantUML blocks):

image

If a file name was given in the block head, it would furthermore be great, if the filename could be used as proposal for the include file.
In the case above the filename was example, so the proposed name should be example.puml finally.

image

In an Antora context it would also be great, if the generated file would be moved to the respective Antora partials directory, e.g., examples.
As discussed via personal communication, I am not yet sure whether puml files should be moved to the images partials directory?

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

No branches or pull requests

1 participant