asciidoctor-confluence icon indicating copy to clipboard operation
asciidoctor-confluence copied to clipboard

Using the --attribute option to specify paths for included files

Open mattadamson opened this issue 8 years ago • 1 comments

I love this project however I'm trying to add a property to be used when the application parses ascii doctor files which contain the include directive with a specific value e.g. {generated} in the path. This is set when the script is called to point to a specify file path actually part of this project

https://github.com/Swagger2Markup/swagger2markup

I thought the --attribute was intended for this however if I specify in this way

--attribute generated="d:/files/generated"

I get an error unknown attribute --attribute although the help from -? indicates --attribute is an option for a key value pair.

I am using this correctly or is there a better way to replace this ascii doctor variable?

Many thanks

mattadamson avatar Apr 29 '16 08:04 mattadamson