Skip to content
Snippets Groups Projects
  1. Dec 10, 2019
  2. Nov 28, 2019
  3. Nov 08, 2019
  4. Mar 26, 2019
    • Douwe Maan's avatar
      Remove .wiki and @md-typography mixin in favor of .md and .md-file · 838f7e56
      Douwe Maan authored
      Before, the styling for `img:not(.emoji)`` was repeated between
      `.md:not(.use-csslab):not(.wiki)` (for comments and the Markdown
      preview), `.documentation.wiki` (for help pages), and
      `.issuable-details .description .wiki` (for MR and issue descriptions).
      
      In these places, we now simply use `.md`. Wherever we use `.md` but
      don't want this image styling (like wikis and blobs), `.md-file` is
      added.
      Unverified
      838f7e56
  5. Feb 04, 2019
  6. Jan 15, 2019
  7. Oct 30, 2018
    • Mark Chao's avatar
      Move :plain option to Highlight class · bc14e4ed
      Mark Chao authored
      This is to DRY the repeated file size check.
      
      Move spec and constants to Highlight
      bc14e4ed
    • Mark Chao's avatar
      Make Highlight accept language param · 39ae9a59
      Mark Chao authored
      This replaces the repository param.
      This allows more flexiblity as sometimes we have highlight content
      not related to repository. Sometimes we know ahead of time the language
      of the content. Lastly language determination seems better fit as a
      logic in the Blob class.
      `repository` param is only used to determine the language, which seems
      to be the responsiblity of Blob.
      39ae9a59
  8. Sep 05, 2018
  9. Feb 13, 2018
  10. Apr 30, 2017
  11. Apr 27, 2017
  12. Feb 16, 2017
  13. Feb 14, 2017
  14. Feb 09, 2017
  15. Jan 24, 2017
  16. May 08, 2016
  17. Mar 03, 2016
  18. Feb 05, 2016
  19. Jan 21, 2016
  20. Aug 26, 2015
  21. Aug 25, 2015
    • Robert Speicher's avatar
      Remove user_color_scheme_class · 2c3e42e4
      Robert Speicher authored
      Instead of rendering this value server-side, we use Javascript and Gon
      to apply the user's color scheme (or the default) to any syntax
      highlighted code blocks.
      
      This will make it easier to cache these blocks in the future because
      they're no longer state-dependent.
      2c3e42e4
  22. May 18, 2015
  23. Mar 14, 2015
  24. Oct 03, 2014
  25. Aug 29, 2014
Loading