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

Publish view does not work without Javascript, but downloaded HTML does (for the most part) #897

Closed
kindfulkirby opened this issue Jul 12, 2018 · 2 comments
Labels
feature Wants to add a new feature

Comments

@kindfulkirby
Copy link

Accessing a published note just results in a blank page if the browser has javascript disabled or does not support it.
The downloaded HTML works flawlessly with the exception of the TOC.

I would love it if the published version worked as well as the downloaded one, even if javascript-less browsers are the exception nowadays.

@SISheogorath
Copy link
Contributor

SISheogorath commented Jul 27, 2018

Right now the simply problem is that the rendered view and the functions and environment needed to render the view only exist client side. In case of the downloaded document, it's created in the client, not server-side and this way are able to completely render the Markdown part in HTML.

So in order to get the server-side part working, someone needs to write a server-side rendering function for the entire JS client.

@SISheogorath SISheogorath added the feature Wants to add a new feature label Jul 27, 2018
@jackycute
Copy link
Member

Since we're using frontend javascript to render the markdown, it will require to enable javascript in published page, this will remain in the future. Thanks for telling us!

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

No branches or pull requests

3 participants