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

Addition/Modification of previewers to browser-side rendering #61

Open
1 of 4 tasks
slint opened this issue Jan 6, 2017 · 0 comments
Open
1 of 4 tasks

Addition/Modification of previewers to browser-side rendering #61

slint opened this issue Jan 6, 2017 · 0 comments

Comments

@slint
Copy link
Member

slint commented Jan 6, 2017

Current previewers use Python libraries to do any kind of formatting/validation of the content on the server-side, thus wasting cycles for tasks that modern Javascript libraries perform perfectly fine (and sometimes even better than their Python alternatives) given the data on the client-side.

Extensions that could benefit from this kind of practice could be:

  • csv: Already uses D3.js to render CSV data in table format.
  • json: Using Json Formatter.
  • md: Using Showdown.js.
  • xml: Some browsers take advantage of XSLT to render XML nicely, given the appropriate HTML headers/tags. There are also a couple of Javascript XML renderers, but none of them is considered a de facto solution at the time.
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

1 participant