8000 Add syntax highlighting · Issue #395 · lionleaf/dwitter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Add syntax highlighting #395
Open
Open
@dwitterer

Description

@dwitterer

This was previously discussed in #247, but it seems that noone has actually gotten round to implementing this. Therefore, I opened a seperate issue for this, well... issue, as per @lionleaf's request (and common sense).

The basic gist:

  • The highlighting should be done client-side for performance (obviously :/)
  • We can use libraries like highlight.js and syntax.js, so we don't even need to write anything special

Easy stuff to do - we just need to source highlight.js and use it on code blocks, updating on every newCode, but we kinda abandoned the idea, so... here we are again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0