Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
University of Michigan Fencing
club-theme
Commits
da490f50
Commit
da490f50
authored
Apr 30, 2015
by
key-amb
Browse files
add highlight.js for syntax highlighting
parent
772607e9
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
README.md
View file @
da490f50
...
...
@@ -16,6 +16,7 @@ You can see Demo and documents of **Bootie Docs** at http://key-amb.github.io/bo
*
[
Bootstrap
](
http://getbootstrap.com/
)
v3.3.4 ... Well-known CSS framework.
*
[
jQuery
](
https://jquery.com/
)
v1.11.2 ... Requried by _Bootstrap_.
*
[
highlight.js
](
https://highlightjs.org/
)
v8.5 ... For syntax highlighting.
## LICENSE
...
...
layouts/partials/footer.html
View file @
da490f50
...
...
@@ -27,6 +27,8 @@
<script
src=
"{{ $baseUrl }}/js/jquery-1.11.2.min.js"
></script>
<script
src=
"{{ $baseUrl }}/js/bootstrap.min.js"
></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script
src=
"{{ $baseUrl }}/js/highlight.min.js"
></script>
<script>
hljs
.
initHighlightingOnLoad
();
</script>
<script
src=
"{{ $baseUrl }}/js/ie10-viewport-bug-workaround.js"
></script>
</body>
...
...
layouts/partials/header.html
View file @
da490f50
...
...
@@ -9,6 +9,7 @@
<link
rel=
"icon"
href=
"{{ $baseUrl }}/favicon.ico"
>
<title>
{{ .Title }}{{ if eq $isHomePage false }} - {{ .Site.Title }}{{ end }}
</title>
<!--<link href="http://fonts.googleapis.com/css?family=PT+Sans:400,700" rel="stylesheet" type="text/css">-->
<link
rel=
"stylesheet"
href=
"{{ $baseUrl }}/css/highlight.js.min.css"
>
<link
rel=
"stylesheet"
href=
"{{ $baseUrl }}/css/bootstrap.min.css"
>
<link
rel=
"stylesheet"
href=
"{{ $baseUrl }}/css/bootstrap-theme.css"
>
<link
rel=
"stylesheet"
href=
"{{ $baseUrl }}/css/theme.css"
>
...
...
@@ -37,6 +38,7 @@
<li><a
href=
"{{ $baseUrl }}/{{ $item }}"
>
{{ title $item}}
</a></li>
{{ end }}
{{ end }}
{{ if isset .Site.Params "noCategoryLink" }}{{ else }}
<li
class=
"dropdown"
>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
role=
"button"
aria-expanded=
"false"
>
Categories
<span
class=
"caret"
></span></a>
<ul
class=
"dropdown-menu"
role=
"menu"
>
...
...
@@ -44,7 +46,9 @@
<li><a
href=
"{{ $baseUrl }}/categories/{{ $name | urlize }}"
>
{{ title $name }}
</a></li>
{{ end }}
</ul>
</li>
</ul>
</li>
{{ end }}
</ul>
</div>
<!--/.nav-collapse -->
</div>
</nav>
...
...
static/css/bootie-docs.css
View file @
da490f50
...
...
@@ -14,13 +14,14 @@ h4, .h4,
h5
,
.h5
,
h6
,
.h6
{
margin-top
:
0
;
padding-top
:
10px
;
padding-bottom
:
10px
;
font-weight
:
normal
;
color
:
#333
;
}
h1
,
.h1
,
h2
,
.h2
{
padding-bottom
:
10px
;
border-bottom
:
1px
solid
#eee
;
}
...
...
@@ -43,6 +44,10 @@ h2, .h2 {
line-height
:
1.5
;
}
.doc-main
pre
code
{
font-size
:
16px
;
}
.doc-top-content
{
font-size
:
18px
;
line-height
:
1.5
;
...
...
static/css/highlight.js.min.css
0 → 100644
View file @
da490f50
.hljs
{
display
:
block
;
overflow-x
:
auto
;
padding
:
0.5em
;
background
:
#f0f0f0
;
-webkit-text-size-adjust
:
none
}
.hljs
,
.hljs-subst
,
.hljs-tag
.hljs-title
,
.nginx
.hljs-title
{
color
:
black
}
.hljs-string
,
.hljs-title
,
.hljs-constant
,
.hljs-parent
,
.hljs-tag
.hljs-value
,
.hljs-rule
.hljs-value
,
.hljs-preprocessor
,
.hljs-pragma
,
.hljs-name
,
.haml
.hljs-symbol
,
.ruby
.hljs-symbol
,
.ruby
.hljs-symbol
.hljs-string
,
.hljs-template_tag
,
.django
.hljs-variable
,
.smalltalk
.hljs-class
,
.hljs-addition
,
.hljs-flow
,
.hljs-stream
,
.bash
.hljs-variable
,
.pf
.hljs-variable
,
.apache
.hljs-tag
,
.apache
.hljs-cbracket
,
.tex
.hljs-command
,
.tex
.hljs-special
,
.erlang_repl
.hljs-function_or_atom
,
.asciidoc
.hljs-header
,
.markdown
.hljs-header
,
.coffeescript
.hljs-attribute
{
color
:
#800
}
.smartquote
,
.hljs-comment
,
.hljs-annotation
,
.diff
.hljs-header
,
.hljs-chunk
,
.asciidoc
.hljs-blockquote
,
.markdown
.hljs-blockquote
{
color
:
#888
}
.hljs-number
,
.hljs-date
,
.hljs-regexp
,
.hljs-literal
,
.hljs-hexcolor
,
.smalltalk
.hljs-symbol
,
.smalltalk
.hljs-char
,
.go
.hljs-constant
,
.hljs-change
,
.lasso
.hljs-variable
,
.makefile
.hljs-variable
,
.asciidoc
.hljs-bullet
,
.markdown
.hljs-bullet
,
.asciidoc
.hljs-link_url
,
.markdown
.hljs-link_url
{
color
:
#080
}
.hljs-label
,
.hljs-javadoc
,
.ruby
.hljs-string
,
.hljs-decorator
,
.hljs-filter
.hljs-argument
,
.hljs-localvars
,
.hljs-array
,
.hljs-attr_selector
,
.hljs-important
,
.hljs-pseudo
,
.hljs-pi
,
.haml
.hljs-bullet
,
.hljs-doctype
,
.hljs-deletion
,
.hljs-envvar
,
.hljs-shebang
,
.apache
.hljs-sqbracket
,
.nginx
.hljs-built_in
,
.tex
.hljs-formula
,
.erlang_repl
.hljs-reserved
,
.hljs-prompt
,
.asciidoc
.hljs-link_label
,
.markdown
.hljs-link_label
,
.vhdl
.hljs-attribute
,
.clojure
.hljs-attribute
,
.asciidoc
.hljs-attribute
,
.lasso
.hljs-attribute
,
.coffeescript
.hljs-property
,
.hljs-phony
{
color
:
#88f
}
.hljs-keyword
,
.hljs-id
,
.hljs-title
,
.hljs-built_in
,
.css
.hljs-tag
,
.hljs-javadoctag
,
.hljs-phpdoc
,
.hljs-dartdoc
,
.hljs-yardoctag
,
.smalltalk
.hljs-class
,
.hljs-winutils
,
.bash
.hljs-variable
,
.pf
.hljs-variable
,
.apache
.hljs-tag
,
.hljs-type
,
.hljs-typename
,
.tex
.hljs-command
,
.asciidoc
.hljs-strong
,
.markdown
.hljs-strong
,
.hljs-request
,
.hljs-status
{
font-weight
:
bold
}
.asciidoc
.hljs-emphasis
,
.markdown
.hljs-emphasis
{
font-style
:
italic
}
.nginx
.hljs-built_in
{
font-weight
:
normal
}
.coffeescript
.javascript
,
.javascript
.xml
,
.lasso
.markup
,
.tex
.hljs-formula
,
.xml
.javascript
,
.xml
.vbscript
,
.xml
.css
,
.xml
.hljs-cdata
{
opacity
:
0.5
}
\ No newline at end of file
static/js/highlight.min.js
0 → 100644
View file @
da490f50
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment