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

Ability to change output file name & disable CSS building #7

Open
cdloh opened this issue Apr 25, 2020 · 1 comment
Open

Ability to change output file name & disable CSS building #7

cdloh opened this issue Apr 25, 2020 · 1 comment

Comments

@cdloh
Copy link

cdloh commented Apr 25, 2020

Hi love the project!

I'm looking at using it to build Markdown documents based off JSON schemas.

I can create decent markdown documents easy enough using the handle bar templates and a few helpers but I can't find a nice way to do two things.

  1. Change the output file name
  2. Disable CSS creation.

Based on reading the code it looks like this isn't possible as both engines are created and configured in bootprint itself? Am I reading / not understanding correctly?

Cheers for any help in advance.

@nknapp
Copy link
Member

nknapp commented Apr 26, 2020

I think there is no way to change these things. When I started with the project I thought about creating markdown as well, but with nested properties and complex schemas, the output quickly became very ugly. It was easier to just create HTML.

You could use customize and customize-engine-handlebars directly and register a mock engine instead of customize-engine-less.

Bootprint itself isn't very much code, it's just customize, customize-engine-handlebars, customize-engine-less and customize-write-files stitched together, unless you need a dev-mode...

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

No branches or pull requests

2 participants