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

Add Pre-Processing Option to PMLC #38

Open
tajmone opened this issue May 11, 2021 · 1 comment
Open

Add Pre-Processing Option to PMLC #38

tajmone opened this issue May 11, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@tajmone
Copy link
Contributor

tajmone commented May 11, 2021

Please add a preprocessor option to pmlc so that it's possible to create a standalone source document from a project that uses [insert and [insert_code directives and multiple files.

Possibly, there should also be a way to control whether [const parameters should be expanded and replaced or whether they should be preserved in the pre-processed document generated via this option.

This option would come handy in various context, from someone wanting to release a document which is generated as part of a more complex toolchain, to the PML projects themselves, which could generate standalone sample docs and documentation files (for inclusion in releases, projects, etc.) without having to give up the power of [insert and [insert_code directives in their maintenance.

See also Ascidoctor's coalescer script (soon to become an official extension).

@pml-lang pml-lang added the enhancement New feature or request label May 12, 2021
@pml-lang
Copy link
Owner

create a standalone source document

Good idea! A useful feature, indeed.

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

No branches or pull requests

2 participants