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

Server-side syntax highlighting for all code #12047

Merged
merged 23 commits into from
Jun 30, 2020

Commits on Jun 24, 2020

  1. Server-side syntax hilighting for all code

    This PR does a few things:
    
    * Remove all traces of highlight.js
    * Use chroma library to provide fast syntax hilighting directly on the server
    * Provide syntax hilighting for diffs
    * Re-style both unified and split diffs views
    * Add custom syntax hilighting styling for both regular and arc-green
    
    Fixes go-gitea#7729
    Fixes go-gitea#10157
    Fixes go-gitea#11825
    Fixes go-gitea#7728
    Fixes go-gitea#3872
    Fixes go-gitea#3682
    
    And perhaps gets closer to go-gitea#9553
    mrsdizzie committed Jun 24, 2020
    Configuration menu
    Copy the full SHA
    811678c View commit details
    Browse the repository at this point in the history
  2. fix line marker

    mrsdizzie committed Jun 24, 2020
    Configuration menu
    Copy the full SHA
    03c948c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d9dc858 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2020

  1. fix repo search

    mrsdizzie committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    4e7a714 View commit details
    Browse the repository at this point in the history
  2. Fix single line select

    mrsdizzie committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    8fd2edb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f2c6daf View commit details
    Browse the repository at this point in the history
  4. properly load settings

    mrsdizzie committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    3dae59d View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2020

  1. npm uninstall highlight.js

    mrsdizzie committed Jun 26, 2020
    Configuration menu
    Copy the full SHA
    d5fa399 View commit details
    Browse the repository at this point in the history
  2. review suggestion

    mrsdizzie committed Jun 26, 2020
    Configuration menu
    Copy the full SHA
    02f7752 View commit details
    Browse the repository at this point in the history
  3. code review

    mrsdizzie committed Jun 26, 2020
    Configuration menu
    Copy the full SHA
    85049d5 View commit details
    Browse the repository at this point in the history
  4. forgot to call function

    mrsdizzie committed Jun 26, 2020
    Configuration menu
    Copy the full SHA
    3325e54 View commit details
    Browse the repository at this point in the history
  5. fix test

    mrsdizzie committed Jun 26, 2020
    Configuration menu
    Copy the full SHA
    1bb78a0 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2020

  1. Apply suggestions from code review

    suggestions from @silverwind thanks
    
    Co-authored-by: silverwind <[email protected]>
    mrsdizzie and silverwind authored Jun 27, 2020
    Configuration menu
    Copy the full SHA
    449999a View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2020

  1. code review

    mrsdizzie committed Jun 28, 2020
    Configuration menu
    Copy the full SHA
    901ce59 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9d585e1 View commit details
    Browse the repository at this point in the history
  3. copy/paste error

    mrsdizzie committed Jun 28, 2020
    Configuration menu
    Copy the full SHA
    61859c8 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2020

  1. Configuration menu
    Copy the full SHA
    8da7fba View commit details
    Browse the repository at this point in the history
  2. Update web_src/less/_repository.less

    Co-authored-by: Lauris BH <[email protected]>
    mrsdizzie and lafriks authored Jun 29, 2020
    Configuration menu
    Copy the full SHA
    c82e0fa View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2020

  1. Configuration menu
    Copy the full SHA
    c9b76b4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    11ae505 View commit details
    Browse the repository at this point in the history
  3. fix test

    mrsdizzie committed Jun 30, 2020
    Configuration menu
    Copy the full SHA
    16e2abf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    723d8a4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6c00c9f View commit details
    Browse the repository at this point in the history