-
Notifications
You must be signed in to change notification settings - Fork 97
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
prettified html output #107
Comments
you shouldn't be versioning the output files in my opinion |
@eloytoro well then go and tell github to disable versioning on gh-pages branches if you really think so. |
Either way you could just require the prettifier in your render function
and return the output of that.
Basically what you're showing in the example but in your render function
instead of directly into the plugin
On Aug 6, 2017 8:35 AM, "sillyslux" <notifications@github.com> wrote:
@eloytoro <https://github.com/eloytoro> well then go and tell github to
disable versioning on gh-pages branches if you really think so.
right now, i couldn't avoid it even if you had convinced me with your
well-founded opinion.
no matter what you think of it, it's nice for me to see when a small
modification also resulted in a small diff.
but above all: there's nothing wrong with versioning anything. ever.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#107 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADwSBXG4J8eAdJ--Jm0XDI1QPCv0vObLks5sVcENgaJpZM4Nn6qb>
.
|
It seems like the issue of formatting the render output is solved by the consumer being able to output formatted HTML from their render function. |
coming from "opinionated" gatsby.js i want prettified html output (b/c git diffs)
so currently i use a modified static-site-generator-webpack-plugin from v2.1.1
see https://github.com/markdalgleish/static-site-generator-webpack-plugin/blob/v2.1.1/index.js#L63
but since i don't know how and when gatsby will update this dependency, i don't even know if it makes sense at all...
The text was updated successfully, but these errors were encountered: