asciidoctor-intellij-plugin
asciidoctor-intellij-plugin copied to clipboard
RfE: Extract type specific includes from embedded source
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:
I'd rather like to get a type specific file name (e.g., puml
for PlantUML blocks):
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.
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?