Last active
December 21, 2016 00:03
-
-
Save tuxedocat/cb4579d4bca3e04bbb45ae0fd8b2e881 to your computer and use it in GitHub Desktop.
Use highlight.js in Redmine 3.2.0 in a stupid way...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- redmine/htdocs/app/views/layouts/base.html.erb --> | |
<!DOCTYPE html> | |
<html lang="<%= current_language %>"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"/> | |
<title><%= html_title %></title> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | |
<meta name="description" content="<%= Redmine::Info.app_name %>" /> | |
<meta name="keywords" content="issue,bug,tracker" /> | |
<!-- highlight.js --> | |
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/styles/tomorrow-night-eighties.min.css"> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/highlight.min.js"></script> | |
<script>hljs.initHighlightingOnLoad();</script> | |
<!-- highlight.js --> | |
<%= csrf_meta_tag %> | |
<%= favicon %> | |
<%= stylesheet_link_tag 'jquery/jquery-ui-1.11.0', 'application', 'responsive', :media => 'all' %> | |
<%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %> | |
<%= javascript_heads %> | |
<%= heads_for_theme %> | |
<%= call_hook :view_layouts_base_html_head %> | |
<!-- page specific tags --> | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment