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

Support custom options #49

Open
mrombout opened this issue Oct 14, 2018 · 2 comments
Open

Support custom options #49

mrombout opened this issue Oct 14, 2018 · 2 comments
Labels

Comments

@mrombout
Copy link
Owner

mrombout commented Oct 14, 2018

Using a hidden passage users should be able to pass options to the Spiner transformer. This hidden passage should contain an XML configuration, for example:

<options>
  <linebreaks>true</linebreaks>
  <title>My book</title>
  <cover>mybook.png</cover>
</options>

The main goal for these options is to be able to produce an end result that is as close to the final production as possible. E.g. set a proper cover image for EPUB, etc.

@mrombout
Copy link
Owner Author

The LINEBREAKS=TRUE option shall be used in order to switch between the two different linebreak behaviour as discussed in #50.

@mrombout
Copy link
Owner Author

mrombout commented Jun 4, 2020

I've updated the original issue to be in XML instead of YML (for now) in order to align with the Metadata feature. Might want to change to YAML/JSON in the future, but that's not important for this story.

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

No branches or pull requests

1 participant