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

Pre-generate html #26

Open
edahlseng opened this issue Apr 15, 2017 · 5 comments
Open

Pre-generate html #26

edahlseng opened this issue Apr 15, 2017 · 5 comments
Assignees

Comments

@edahlseng
Copy link

edahlseng commented Apr 15, 2017

It appears that the html output doesn't actually contain all of the information when it's generated, but rather it has insert points that a script injects into when the page is first loaded – is that correct?

Would it be possible to inject the information into the html output when it's first generated as opposed to when it's first viewed? It seems that this approach would be a bit cleaner. (It also would make it easier to embed these documents, which, admittedly, is my primary use case.)

@twskj
Copy link
Owner

twskj commented Apr 15, 2017

That's correct. I think it is possible. I'll investigate "server side rendering" and let you know.

@twskj twskj self-assigned this Jun 4, 2017
@twskj
Copy link
Owner

twskj commented Jun 4, 2017

I got a POC up and running and will release this feature as an option in a bit.
A few bugs come up, probably going to take longer than I thought.

@edahlseng
Copy link
Author

Excited to try it out when it's ready!

@twskj
Copy link
Owner

twskj commented Jul 31, 2017

I found a workaround that works on Linux, and maybe Mac?
It' kinda limited (without javascript bell and whistle) but maybe good enough for your case?
You'll also need the latest Google Chrome to hydrate the page.
Not sure if it fit your use case. Let me know.

@edahlseng
Copy link
Author

Seem's okay so far. As I use it more I can add more feedback. Thanks for working on this!

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

No branches or pull requests

2 participants