├── .gitignore ├── LICENSE ├── Makefile ├── README.md ├── docs ├── adjust.css ├── doxyfile ├── index.html └── mainpage.dox ├── examples ├── code │ ├── Makefile │ ├── far.md │ ├── main.cpp │ ├── railscasts.md │ ├── solarized-dark.md │ ├── solarized-light.md │ └── xcode.md ├── markdown │ ├── Makefile │ ├── main.cpp │ └── test.md ├── math │ ├── Makefile │ ├── main.cpp │ └── test.md ├── snippet │ ├── Makefile │ └── main.cpp └── styled │ ├── Makefile │ ├── additional.css │ ├── main.cpp │ └── test.md ├── include ├── markdown-abstract-markdown.hpp ├── markdown-abstract-math.hpp ├── markdown-configurable.hpp ├── markdown-exceptions.hpp ├── markdown-markdown.hpp ├── markdown-math.hpp └── markdown-parser.hpp ├── katex ├── README.md ├── fonts │ ├── KaTeX_AMS-Regular.eot │ ├── KaTeX_AMS-Regular.ttf │ ├── KaTeX_AMS-Regular.woff │ ├── KaTeX_AMS-Regular.woff2 │ ├── KaTeX_Caligraphic-Bold.eot │ ├── KaTeX_Caligraphic-Bold.ttf │ ├── KaTeX_Caligraphic-Bold.woff │ ├── KaTeX_Caligraphic-Bold.woff2 │ ├── KaTeX_Caligraphic-Regular.eot │ ├── KaTeX_Caligraphic-Regular.ttf │ ├── KaTeX_Caligraphic-Regular.woff │ ├── KaTeX_Caligraphic-Regular.woff2 │ ├── KaTeX_Fraktur-Bold.eot │ ├── KaTeX_Fraktur-Bold.ttf │ ├── KaTeX_Fraktur-Bold.woff │ ├── KaTeX_Fraktur-Bold.woff2 │ ├── KaTeX_Fraktur-Regular.eot │ ├── KaTeX_Fraktur-Regular.ttf │ ├── KaTeX_Fraktur-Regular.woff │ ├── KaTeX_Fraktur-Regular.woff2 │ ├── KaTeX_Main-Bold.eot │ ├── KaTeX_Main-Bold.ttf │ ├── KaTeX_Main-Bold.woff │ ├── KaTeX_Main-Bold.woff2 │ ├── KaTeX_Main-Italic.eot │ ├── KaTeX_Main-Italic.ttf │ ├── KaTeX_Main-Italic.woff │ ├── KaTeX_Main-Italic.woff2 │ ├── KaTeX_Main-Regular.eot │ ├── KaTeX_Main-Regular.ttf │ ├── KaTeX_Main-Regular.woff │ ├── KaTeX_Main-Regular.woff2 │ ├── KaTeX_Math-BoldItalic.eot │ ├── KaTeX_Math-BoldItalic.ttf │ ├── KaTeX_Math-BoldItalic.woff │ ├── KaTeX_Math-BoldItalic.woff2 │ ├── KaTeX_Math-Italic.eot │ ├── KaTeX_Math-Italic.ttf │ ├── KaTeX_Math-Italic.woff │ ├── KaTeX_Math-Italic.woff2 │ ├── KaTeX_Math-Regular.eot │ ├── KaTeX_Math-Regular.ttf │ ├── KaTeX_Math-Regular.woff │ ├── KaTeX_Math-Regular.woff2 │ ├── KaTeX_SansSerif-Bold.eot │ ├── KaTeX_SansSerif-Bold.ttf │ ├── KaTeX_SansSerif-Bold.woff │ ├── KaTeX_SansSerif-Bold.woff2 │ ├── KaTeX_SansSerif-Italic.eot │ ├── KaTeX_SansSerif-Italic.ttf │ ├── KaTeX_SansSerif-Italic.woff │ ├── KaTeX_SansSerif-Italic.woff2 │ ├── KaTeX_SansSerif-Regular.eot │ ├── KaTeX_SansSerif-Regular.ttf │ ├── KaTeX_SansSerif-Regular.woff │ ├── KaTeX_SansSerif-Regular.woff2 │ ├── KaTeX_Script-Regular.eot │ ├── KaTeX_Script-Regular.ttf │ ├── KaTeX_Script-Regular.woff │ ├── KaTeX_Script-Regular.woff2 │ ├── KaTeX_Size1-Regular.eot │ ├── KaTeX_Size1-Regular.ttf │ ├── KaTeX_Size1-Regular.woff │ ├── KaTeX_Size1-Regular.woff2 │ ├── KaTeX_Size2-Regular.eot │ ├── KaTeX_Size2-Regular.ttf │ ├── KaTeX_Size2-Regular.woff │ ├── KaTeX_Size2-Regular.woff2 │ ├── KaTeX_Size3-Regular.eot │ ├── KaTeX_Size3-Regular.ttf │ ├── KaTeX_Size3-Regular.woff │ ├── KaTeX_Size3-Regular.woff2 │ ├── KaTeX_Size4-Regular.eot │ ├── KaTeX_Size4-Regular.ttf │ ├── KaTeX_Size4-Regular.woff │ ├── KaTeX_Size4-Regular.woff2 │ ├── KaTeX_Typewriter-Regular.eot │ ├── KaTeX_Typewriter-Regular.ttf │ ├── KaTeX_Typewriter-Regular.woff │ └── KaTeX_Typewriter-Regular.woff2 ├── katex.min.js ├── network.url └── style.css ├── main.cpp ├── markdownpp.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcuserdata │ │ └── petergoldsborough.xcuserdatad │ │ └── UserInterfaceState.xcuserstate └── xcuserdata │ └── petergoldsborough.xcuserdatad │ └── xcschemes │ ├── markdownpp.xcscheme │ └── xcschememanagement.plist ├── source ├── markdown-abstract-markdown.cpp ├── markdown-abstract-math.cpp ├── markdown-configurable.cpp ├── markdown-markdown.cpp ├── markdown-math.cpp └── markdown-parser.cpp └── themes ├── code ├── LICENSE ├── README.md ├── highlight │ ├── network.url │ └── script.js └── style │ ├── agate │ ├── network.url │ └── style.css │ ├── androidstudio │ ├── network.url │ └── style.css │ ├── arta │ ├── network.url │ └── style.css │ ├── ascetic │ ├── network.url │ └── style.css │ ├── atelier-cave │ ├── network.url │ └── style.css │ ├── atelier-dune │ ├── network.url │ └── style.css │ ├── atelier-estuary │ ├── network.url │ └── style.css │ ├── atelier-forest │ ├── network.url │ └── style.css │ ├── atelier-heath │ ├── network.url │ └── style.css │ ├── atelier-lakeside │ ├── network.url │ └── style.css │ ├── atelier-plateau │ ├── network.url │ └── style.css │ ├── atelier-savanna │ ├── network.url │ └── style.css │ ├── atelier-seaside │ ├── network.url │ └── style.css │ ├── atelier-sulphurpool │ ├── network.url │ └── style.css │ ├── brown_paper │ ├── network.url │ └── style.css │ ├── brown_papersq │ ├── network.url │ └── style.css │ ├── codepen-embed │ ├── network.url │ └── style.css │ ├── color-brewer │ ├── network.url │ └── style.css │ ├── dark │ ├── network.url │ └── style.css │ ├── darkula │ ├── network.url │ └── style.css │ ├── default │ ├── network.url │ └── style.css │ ├── docco │ ├── network.url │ └── style.css │ ├── far │ ├── network.url │ └── style.css │ ├── foundation │ ├── network.url │ └── style.css │ ├── github-gist │ ├── network.url │ └── style.css │ ├── github │ ├── network.url │ └── style.css │ ├── googlecode │ ├── network.url │ └── style.css │ ├── grayscale │ ├── network.url │ └── style.css │ ├── hopscotch │ ├── network.url │ └── style.css │ ├── hybrid │ ├── network.url │ └── style.css │ ├── idea │ ├── network.url │ └── style.css │ ├── ir_black │ ├── network.url │ └── style.css │ ├── kimbie │ ├── network.url │ └── style.css │ ├── magula │ ├── network.url │ └── style.css │ ├── mono-blue │ ├── network.url │ └── style.css │ ├── monokai │ ├── network.url │ └── style.css │ ├── monokai_sublime │ ├── network.url │ └── style.css │ ├── obsidian │ ├── network.url │ └── style.css │ ├── paraiso │ ├── network.url │ └── style.css │ ├── pojoaque │ ├── network.url │ └── style.css │ ├── railscasts │ ├── network.url │ └── style.css │ ├── rainbow │ ├── network.url │ └── style.css │ ├── school_book │ ├── network.url │ └── style.css │ ├── solarized_dark │ ├── network.url │ └── style.css │ ├── solarized_light │ ├── network.url │ └── style.css │ ├── sunburst │ ├── network.url │ └── style.css │ ├── tomorrow-night-blue │ ├── network.url │ └── style.css │ ├── tomorrow-night-bright │ ├── network.url │ └── style.css │ ├── tomorrow-night-eighties │ ├── network.url │ └── style.css │ ├── tomorrow-night │ ├── network.url │ └── style.css │ ├── tomorrow │ ├── network.url │ └── style.css │ ├── vs │ ├── network.url │ └── style.css │ ├── xcode │ ├── network.url │ └── style.css │ └── zenburn │ ├── network.url │ └── style.css └── markdown ├── black ├── README.md ├── network.url └── style.css ├── dirt ├── README.md ├── network.url └── style.css ├── foghorn ├── README.md ├── network.url └── style.css ├── ghostwriter ├── LICENSE.txt ├── README.md ├── network.url └── style.css ├── github ├── license ├── network.url ├── readme.md └── style.css ├── solarized-dark ├── LICENSE ├── README.md ├── network.url └── style.css ├── solarized-light ├── LICENSE ├── README.md ├── network.url └── style.css └── witex ├── README.md ├── network.url └── style.css /.gitignore: -------------------------------------------------------------------------------- 1 | # Created by https://www.gitignore.io/api/latex,node,c++,xcode 2 | 3 | ### LaTeX ### 4 | *.acn 5 | *.acr 6 | *.alg 7 | *.aux 8 | *.bbl 9 | *.bcf 10 | *.blg 11 | *.dvi 12 | *.fdb_latexmk 13 | *.fls 14 | *.glg 15 | *.glo 16 | *.gls 17 | *.idx 18 | *.ilg 19 | *.ind 20 | *.ist 21 | *.lof 22 | *.log 23 | *.lot 24 | *.maf 25 | *.mtc 26 | *.mtc0 27 | *.nav 28 | *.nlo 29 | *.out 30 | *.pdfsync 31 | *.ps 32 | *.run.xml 33 | *.snm 34 | *.synctex.gz 35 | *.toc 36 | *.vrb 37 | *.xdy 38 | *.tdo 39 | 40 | 41 | ### Node ### 42 | # Logs 43 | logs 44 | *.log 45 | npm-debug.log* 46 | 47 | # Runtime data 48 | pids 49 | *.pid 50 | *.seed 51 | 52 | # Directory for instrumented libs generated by jscoverage/JSCover 53 | lib-cov 54 | 55 | # Coverage directory used by tools like istanbul 56 | coverage 57 | 58 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 59 | .grunt 60 | 61 | # node-waf configuration 62 | .lock-wscript 63 | 64 | # Compiled binary addons (http://nodejs.org/api/addons.html) 65 | build/Release 66 | 67 | # Dependency directory 68 | # https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git 69 | node_modules 70 | 71 | 72 | ### C++ ### 73 | # Compiled Object files 74 | *.slo 75 | *.lo 76 | *.o 77 | *.obj 78 | 79 | # Precompiled Headers 80 | *.gch 81 | *.pch 82 | 83 | # Compiled Dynamic libraries 84 | *.so 85 | *.dylib 86 | *.dll 87 | 88 | # Fortran module files 89 | *.mod 90 | 91 | # Compiled Static libraries 92 | *.lai 93 | *.la 94 | *.a 95 | *.lib 96 | 97 | # Executables 98 | *.exe 99 | *.out 100 | *.app 101 | 102 | 103 | ### Xcode ### 104 | # Xcode 105 | # 106 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 107 | 108 | ## Build generated 109 | build/ 110 | Build/ 111 | DerivedData 112 | 113 | ## Various settings 114 | *.pbxuser 115 | !default.pbxuser 116 | *.mode1v3 117 | !default.mode1v3 118 | *.mode2v3 119 | !default.mode2v3 120 | *.perspectivev3 121 | !default.perspectivev3 122 | xcuserdata 123 | 124 | ## Other 125 | *.xccheckout 126 | *.moved-aside 127 | *.xcuserstate 128 | 129 | ## Docs 130 | html/ 131 | latex/ 132 | 133 | ## Other 134 | ignore/ 135 | 136 | ## Executables 137 | markdownpp 138 | markdownpp.exe -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | Copyright (C) 2015 Peter Goldsborough 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 5 | 6 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 7 | 8 | THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 9 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | CXX := c++ 2 | CXXFLAGS := -std=c++1y -stdlib=libc++ 3 | 4 | INCLUDES := -I/usr/local/Cellar/v8/4.5.103.35 -I/usr/local/Cellar/v8/4.5.103.35/include -I/usr/local/Cellar/v8/4.5.103.35/include/libplatform -I/usr/local/include -Iinclude -I/usr/local/Cellar/boost/include 5 | 6 | LIBS := -L/usr/local/Cellar/v8/4.5.103.35/lib -L/usr/local/lib -L/usr/local/Cellar/boost/1.58.0/lib -lboost_system -lboost_filesystem -lboost_program_options -lv8_nosnapshot -lv8_snapshot -lv8_base -lv8_libbase -lv8_libplatform -lv8 -lhoedown 7 | 8 | OBJECTS := main.o markdown-parser.o markdown-configurable.o markdown-markdown.o markdown-math.o markdown-abstract-math.o markdown-abstract-markdown.o 9 | 10 | build: $(OBJECTS) 11 | $(MAKE) markdownpp 12 | $(MAKE) clean 13 | 14 | markdownpp: $(OBJECTS) 15 | $(CXX) $(CXXFLAGS) $(OBJECTS) -o markdownpp $(LIBS) 16 | 17 | markdown-parser.o: source/markdown-parser.cpp 18 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c source/markdown-parser.cpp -o markdown-parser.o 19 | 20 | markdown-configurable.o: source/markdown-configurable.cpp 21 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c source/markdown-configurable.cpp -o markdown-configurable.o 22 | 23 | markdown-markdown.o: source/markdown-markdown.cpp 24 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c source/markdown-markdown.cpp -o markdown-markdown.o 25 | 26 | markdown-math.o: source/markdown-math.cpp 27 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c source/markdown-math.cpp -o markdown-math.o 28 | 29 | markdown-abstract-math.o: source/markdown-abstract-math.cpp 30 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c source/markdown-abstract-math.cpp -o markdown-abstract-math.o 31 | 32 | markdown-abstract-markdown.o: source/markdown-abstract-markdown.cpp 33 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c source/markdown-abstract-markdown.cpp -o markdown-abstract-markdown.o 34 | 35 | main.o: main.cpp 36 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c main.cpp -o main.o 37 | 38 | clean: 39 | rm -f *.o 40 | 41 | reset: 42 | $(MAKE) clean 43 | rm -f *.html 44 | rm -f markdownpp 45 | 46 | .PHONY: clean reset 47 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Markdown++ 2 | 3 | [![GitHub license](https://img.shields.io/github/license/mashape/apistatus.svg?style=flat-square)](http://goldsborough.mit-license.org) 4 | 5 | Markdown++ is a first-of-its-kind Markdown solution for C++. It unifies and handles all aspects of a modern, powerful and flexible Markdown tool including: 6 | 7 | * Markdown conversion with a sweet object-oriented interface. 8 | * __LaTeX__ integration for all things math. 9 | * Syntax highlighting with [highlight.js](https://highlightjs.org) and its __65__ themes. 10 | * __8__ Markdown themes, such as GitHub's or Solarized. 11 | * A command-line program accompanying the library. 12 | 13 | ## Usage 14 | 15 | ```C++ 16 | #include "markdown-parser.hpp" 17 | 18 | int main(int argc, const char* argv[]) 19 | { 20 | // Main interface 21 | Markdown::Parser parser; 22 | 23 | // Flexible key-value configuration 24 | parser.configure("markdown-style", "solarized-dark"); 25 | 26 | // Quick and easy snippet-conversion, returns HTML as std::string 27 | //

hello

28 | auto snippet = parser.snippet("*hello*"); 29 | 30 | // 65 possible styles (using highlight.js) 31 | parser.configure("code-style", "monokai"); 32 | 33 | // Full file rendering 34 | parser.render_file("input.md", "output.html"); 35 | } 36 | ``` 37 | 38 | or 39 | 40 | ```Bash 41 | $ markdownpp -m solarized-dark -c monokai input.md output.html 42 | ``` 43 | 44 | ## Demo 45 | 46 | See this README rendered by __markdown++__ with the *solarized-dark* markdown-theme and *xcode* syntax-theme [here](http://www.goldsborough.me/markdownpp/). 47 | 48 | ## Documentation 49 | 50 | You can build extensive documentation with `doxygen`. See the `doxyfile` in the `docs/` folder. There are also some example programs in the `examples` folder. 51 | 52 | ## LICENSE 53 | 54 | This project is released under the [MIT License](http://goldsborough.mit-license.org). For more information, see the `LICENSE` file. 55 | 56 | ## Authors 57 | 58 | [Peter Goldsborough](http://www.goldsborough.me) + [cat](https://goo.gl/IpUmJn) :heart: 59 | 60 | 61 | -------------------------------------------------------------------------------- /docs/adjust.css: -------------------------------------------------------------------------------- 1 | body { 2 | min-width: 200px; 3 | max-width: 790px; 4 | margin: 0 auto; 5 | padding: 30px; 6 | } 7 | -------------------------------------------------------------------------------- /docs/mainpage.dox: -------------------------------------------------------------------------------- 1 | @mainpage markdownpp 2 | 3 | # Markdownpp 4 | 5 | [![GitHub license](https://img.shields.io/github/license/mashape/apistatus.svg?style=flat-square)](http://goldsborough.mit-license.org) 6 | 7 | Markdownpp is a first-of-its-kind Markdown solution for C++. It unifies and handles all aspects of a modern, powerful and flexible Markdown tool including: 8 | 9 | * Markdown conversion with a nice object-oriented interface. 10 | * `LaTeX` integration for mathematical formulas. 11 | * Syntax highlighting with [highlight.js](https://highlightjs.org). 12 | * Multiple Markdown themes, such as GitHub's or Solarized. 13 | 14 | ## Usage 15 | 16 | \code{cpp} 17 | #include "markdown-parser.hpp" 18 | 19 | int main(int argc, const char* argv[]) 20 | { 21 | // Main interface 22 | Markdown::Parser parser; 23 | 24 | // Flexible key-value configuration 25 | parser.configure("markdown-style", "solarized"); 26 | 27 | // Quick and easy snippet-conversion, returns HTML as std::string 28 | //

hello

29 | auto snippet = parser.snippet("*hello*"); 30 | 31 | // 65 possible styles (using highlight.js) 32 | parser.configure("code-style", "monokai"); 33 | 34 | // Full file rendering 35 | parser.render_file("input.md", "output.html"); 36 | } 37 | \endcode 38 | 39 | ## Demo 40 | 41 | See this README rendered by `markdownpp` [here](http://goldsborough.github.io/markdownpp/). 42 | 43 | ## LICENSE 44 | 45 | This project is released under the [MIT License](http://goldsborough.mit-license.org). For more information, see the `LICENSE` file. 46 | 47 | ## Authors 48 | 49 | [Peter Goldsborough](http://goldsborough.me) + [cat](https://goo.gl/IpUmJn) :heart: 50 | 51 | 52 | 53 | Visit the repository on [GitHub](https://github.com/goldsborough/markdownpp) for more information and the full source. 54 | -------------------------------------------------------------------------------- /examples/code/Makefile: -------------------------------------------------------------------------------- 1 | CXX := c++ 2 | CXXFLAGS := -std=c++1y -stdlib=libc++ 3 | 4 | INCLUDES := -I/usr/local/Cellar/v8/4.5.103.35 -I/usr/local/Cellar/v8/4.5.103.35/include -I/usr/local/Cellar/v8/4.5.103.35/include/libplatform -I/usr/local/include -I../../include -I/usr/local/Cellar/boost/include 5 | 6 | LIBS := -L/usr/local/Cellar/v8/4.5.103.35/lib -L/usr/local/lib -L/usr/local/Cellar/boost/1.58.0/lib -lboost_system -lboost_filesystem -lv8_nosnapshot -lv8_snapshot -lv8_base -lv8_libbase -lv8_libplatform -lv8 -lhoedown 7 | 8 | OBJECTS := main.o markdown-parser.o markdown-configurable.o markdown-markdown.o markdown-math.o markdown-abstract-math.o markdown-abstract-markdown.o 9 | 10 | build: $(OBJECTS) 11 | $(MAKE) code 12 | $(MAKE) clean 13 | 14 | code: $(OBJECTS) 15 | $(CXX) $(CXXFLAGS) $(OBJECTS) -o code $(LIBS) 16 | 17 | markdown-parser.o: ../../source/markdown-parser.cpp 18 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-parser.cpp -o markdown-parser.o 19 | 20 | markdown-configurable.o: ../../source/markdown-configurable.cpp 21 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-configurable.cpp -o markdown-configurable.o 22 | 23 | markdown-markdown.o: ../../source/markdown-markdown.cpp 24 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-markdown.cpp -o markdown-markdown.o 25 | 26 | markdown-math.o: ../../source/markdown-math.cpp 27 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-math.cpp -o markdown-math.o 28 | 29 | markdown-abstract-math.o: ../../source/markdown-abstract-math.cpp 30 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-abstract-math.cpp -o markdown-abstract-math.o 31 | 32 | markdown-abstract-markdown.o: ../../source/markdown-abstract-markdown.cpp 33 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-abstract-markdown.cpp -o markdown-abstract-markdown.o 34 | 35 | main.o: main.cpp 36 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c main.cpp -o main.o 37 | 38 | clean: 39 | rm -f *.o 40 | 41 | reset: 42 | $(MAKE) clean 43 | rm -f *.html 44 | rm -f code 45 | 46 | .PHONY: clean reset 47 | -------------------------------------------------------------------------------- /examples/code/far.md: -------------------------------------------------------------------------------- 1 | ```Python 2 | def memoize(function): 3 | cache = {} 4 | def proxy(argument): 5 | if argument not in cache: 6 | cache[argument] = function(argument) 7 | return cache[argument] 8 | return proxy 9 | 10 | @memoize 11 | def fibonacci(n): 12 | if n <= 2: 13 | return n 14 | return fibonacci(n - 1) + fibonacci(n - 2) 15 | 16 | if __name__ == '__main__': 17 | print(fibonacci(5)) 18 | ``` 19 | -------------------------------------------------------------------------------- /examples/code/main.cpp: -------------------------------------------------------------------------------- 1 | #include "../../include/markdown-parser.hpp" 2 | 3 | int main(int argc, const char* argv[]) 4 | { 5 | // Set the root path where to look for style at ../../ 6 | Markdown::Parser parser("../../"); 7 | 8 | // True by default but just for demonstration (set to 9 | // false to disable code highlighting altogether) 10 | parser.configure("enable-code", true); 11 | 12 | // See all styles here: https://highlightjs.org/static/demo/ 13 | 14 | parser.configure("include-mode", "network"); 15 | 16 | parser.configure("code-style", "solarized-dark"); 17 | parser.render_file("solarized-dark.md", "solarized-dark.html"); 18 | 19 | parser.configure("code-style", "solarized-light"); 20 | parser.render_file("solarized-light.md", "solarized-light.html"); 21 | 22 | parser.configure("include-mode", "local"); 23 | 24 | parser.configure("code-style", "xcode"); 25 | parser.render_file("xcode.md", "xcode.html"); 26 | 27 | parser.configure("code-style", "railscasts"); 28 | parser.render_file("railscasts.md", "railscasts.html"); 29 | 30 | parser.configure("include-mode", "embed"); 31 | 32 | parser.configure("code-style", "far"); 33 | parser.render_file("far.md", "far.html"); 34 | } 35 | -------------------------------------------------------------------------------- /examples/code/railscasts.md: -------------------------------------------------------------------------------- 1 | ```C++ 2 | std::string Math::_get_javascript(const std::string &expression, 3 | bool display_math) const 4 | { 5 | std::string source = "katex.renderToString('"; 6 | 7 | source += _escape(expression) + "', {'displayMode': "; 8 | 9 | // all-display-math | display_math | result 10 | // 0 | 0 | 0 11 | // 0 | 1 | 1 12 | // 1 | 0 | 1 13 | // 1 | 1 | 1 14 | display_math |= Configurable::get("all-display-math"); 15 | 16 | source += display_math ? "true" : "false"; 17 | 18 | return source + "});"; 19 | } 20 | ``` 21 | -------------------------------------------------------------------------------- /examples/code/solarized-dark.md: -------------------------------------------------------------------------------- 1 | ### Ruby 2 | 3 | ```ruby 4 | class Classy 5 | def this_is 6 | puts "some #{colored} ruby code with ruby syntax highlighting" 7 | @someobj.do_it(1, 2) 8 | end 9 | end 10 | ``` 11 | -------------------------------------------------------------------------------- /examples/code/solarized-light.md: -------------------------------------------------------------------------------- 1 | ```javascript 2 | var test = function this_is(){ 3 | console.log("some" + colored + "javascript code with javascript syntax highlighting really long"); 4 | } 5 | ``` 6 | -------------------------------------------------------------------------------- /examples/code/xcode.md: -------------------------------------------------------------------------------- 1 | ```SQL 2 | CREATE TABLE "topic" ( 3 | "id" serial NOT NULL PRIMARY KEY, 4 | "forum_id" integer NOT NULL, 5 | "subject" varchar(255) NOT NULL 6 | ); 7 | ALTER TABLE "topic" 8 | ADD CONSTRAINT forum_id FOREIGN KEY ("forum_id") 9 | REFERENCES "forum" ("id"); 10 | 11 | -- Initials 12 | insert into "topic" ("forum_id", "subject") 13 | values (2, 'D''artagnian'); 14 | ``` 15 | -------------------------------------------------------------------------------- /examples/markdown/Makefile: -------------------------------------------------------------------------------- 1 | CXX := c++ 2 | CXXFLAGS := -std=c++1y -stdlib=libc++ 3 | 4 | INCLUDES := -I/usr/local/Cellar/v8/4.5.103.35 -I/usr/local/Cellar/v8/4.5.103.35/include -I/usr/local/Cellar/v8/4.5.103.35/include/libplatform -I/usr/local/include -I../../include -I/usr/local/Cellar/boost/include 5 | 6 | LIBS := -L/usr/local/Cellar/v8/4.5.103.35/lib -L/usr/local/lib -L/usr/local/Cellar/boost/1.58.0/lib -lboost_system -lboost_filesystem -lv8_nosnapshot -lv8_snapshot -lv8_base -lv8_libbase -lv8_libplatform -lv8 -lhoedown 7 | 8 | OBJECTS := main.o markdown-parser.o markdown-configurable.o markdown-markdown.o markdown-math.o markdown-abstract-math.o markdown-abstract-markdown.o 9 | 10 | build: $(OBJECTS) 11 | $(MAKE) markdown 12 | $(MAKE) clean 13 | 14 | markdown: $(OBJECTS) 15 | $(CXX) $(CXXFLAGS) $(OBJECTS) -o markdown $(LIBS) 16 | 17 | markdown-parser.o: ../../source/markdown-parser.cpp 18 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-parser.cpp -o markdown-parser.o 19 | 20 | markdown-configurable.o: ../../source/markdown-configurable.cpp 21 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-configurable.cpp -o markdown-configurable.o 22 | 23 | markdown-markdown.o: ../../source/markdown-markdown.cpp 24 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-markdown.cpp -o markdown-markdown.o 25 | 26 | markdown-math.o: ../../source/markdown-math.cpp 27 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-math.cpp -o markdown-math.o 28 | 29 | markdown-abstract-math.o: ../../source/markdown-abstract-math.cpp 30 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-abstract-math.cpp -o markdown-abstract-math.o 31 | 32 | markdown-abstract-markdown.o: ../../source/markdown-abstract-markdown.cpp 33 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-abstract-markdown.cpp -o markdown-abstract-markdown.o 34 | 35 | main.o: main.cpp 36 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c main.cpp -o main.o 37 | 38 | clean: 39 | rm -f *.o 40 | 41 | reset: 42 | $(MAKE) clean 43 | rm -f *.html 44 | rm -f markdown 45 | 46 | .PHONY: clean reset 47 | -------------------------------------------------------------------------------- /examples/markdown/main.cpp: -------------------------------------------------------------------------------- 1 | #include "../../include/markdown-parser.hpp" 2 | 3 | int main(int argc, const char* argv[]) 4 | { 5 | // Set the root path where to look for style at ../../ 6 | Markdown::Parser parser("../../"); 7 | 8 | parser.configure("markdown-style", "solarized-dark"); 9 | 10 | parser.configure("code-style", "xcode"); 11 | 12 | parser.configure("include-mode", "embed"); 13 | 14 | // Have render_file convert test.md into output.html 15 | parser.render_file("test.md", "output.html"); 16 | } 17 | -------------------------------------------------------------------------------- /examples/markdown/test.md: -------------------------------------------------------------------------------- 1 | ## Markdown test file (https://github.com/suan/github-flavored-markdown-test) 2 | 3 | ### This README can be used as a reference for github-flavored-markdown styling (and possibly behavior). 4 | 5 | --- 6 | 7 | # H1 8 | followed by some text 9 | 10 | ## H2 11 | followed by some text 12 | 13 | ### H3 14 | followed by some text 15 | 16 | #### H4 17 | followed by some text 18 | 19 | ##### H5 20 | followed by some text 21 | 22 | ###### H6 23 | followed by some text 24 | 25 | Auto-detected link: http://www.france.com 26 | 27 | Some Ignored_multiple_underscore_italics here 28 | 29 | A line of normal text with `inline code` and *italics*, **strong font**, and even some μ†ℱ ╋ℯ╳╋. Followed by lots of Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis id sem purus, eu commodo tortor. Donec malesuada ultricies dolor a eleifend. In hac habitasse platea dictumst. Vivamus a faucibus ligula. Nullam molestie tristique arcu, eu elementum metus ultricies sed. Aenean luctus congue lectus, vitae semper erat rhoncus non. Nulla facilisi. 30 | 31 | Followed by another line of normal text with `inline code` and *italics*, **strong font**, and even some μ†ℱ ╋ℯ╳╋. Followed by lots of Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis id sem purus, eu commodo tortor. Donec malesuada ultricies dolor a eleifend. In hac habitasse platea dictumst. Vivamus a faucibus ligula. Nullam molestie tristique arcu, eu elementum metus ultricies sed. Aenean luctus congue lectus, vitae semper erat rhoncus non. Nulla facilisi. 32 | 33 | Thin horizontal rule: 34 | 35 | -- 36 | 37 | Thick horizontal rule: 38 | 39 | ------ 40 | 41 | |Table Header 1|Table Header 2 | 42 | |--------------|-------------------------| 43 | |Content |http://example.org | 44 | |Content |http://localhost:\| 45 | Text right below table. Follows is a table with an empty cell, and unaligned indenting. 46 | 47 | |Table Header 1|Table Header 2| 48 | |--------------|--------------| 49 | |Content | Cntent | 50 | |Content | | 51 | 52 | Empty line between table and this text 53 | 54 | def this_is 55 | puts "some #{4-space-indent} code" 56 | end 57 | 58 | 59 | def this_is 60 | puts "some #{code tag} code" 61 | end 62 | 63 | 64 |
 65 | def this_is
 66 |   puts "some #{pre tag} code"
 67 | end
 68 | 
69 | 70 | ``` 71 | def this_is 72 | puts "some #{fenced} code" 73 | end 74 | ``` 75 | 76 | ```ruby 77 | class Classy 78 | def this_is 79 | puts "some #{colored} ruby code with ruby syntax highlighting" 80 | @someobj.do_it(1, 2) 81 | end 82 | end 83 | ``` 84 | 85 | ```javascript 86 | var test = function this_is(){ 87 | console.log("some" + colored + "javascript code with javascript syntax highlighting really long"); 88 | } 89 | ``` 90 | 91 | ```clojure 92 | (defproject myproject "0.5.0-SNAPSHOT" 93 | :description "Some clojure code with syntax highlighting." 94 | :dependencies [[org.clojure/clojure "1.5.1"]] 95 | :plugins [[lein-tar "3.2.0"]]) 96 | ``` 97 | 98 | ```js 99 | var test = function this_is(){ 100 | console.log("language declared as 'js' instead"); 101 | } 102 | ``` 103 | 104 | ```bogus_language 105 | var test = function this_is(){ 106 | console.log("language declared as bogus_language"); 107 | } 108 | ``` 109 | 110 | > here is blockquote 111 | 112 | [Relative image link](afu.png) 113 | -------------------------------------------------------------------------------- /examples/math/Makefile: -------------------------------------------------------------------------------- 1 | CXX := c++ 2 | CXXFLAGS := -std=c++1y -stdlib=libc++ 3 | 4 | INCLUDES := -I/usr/local/Cellar/v8/4.5.103.35 -I/usr/local/Cellar/v8/4.5.103.35/include -I/usr/local/Cellar/v8/4.5.103.35/include/libplatform -I/usr/local/include -I../../include -I/usr/local/Cellar/boost/include 5 | 6 | LIBS := -L/usr/local/Cellar/v8/4.5.103.35/lib -L/usr/local/lib -L/usr/local/Cellar/boost/1.58.0/lib -lboost_system -lboost_filesystem -lv8_nosnapshot -lv8_snapshot -lv8_base -lv8_libbase -lv8_libplatform -lv8 -lhoedown 7 | 8 | OBJECTS := main.o markdown-parser.o markdown-configurable.o markdown-markdown.o markdown-math.o markdown-abstract-math.o markdown-abstract-markdown.o 9 | 10 | build: $(OBJECTS) 11 | $(MAKE) math 12 | $(MAKE) clean 13 | 14 | math: $(OBJECTS) 15 | $(CXX) $(CXXFLAGS) $(OBJECTS) -o math $(LIBS) 16 | 17 | markdown-parser.o: ../../source/markdown-parser.cpp 18 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-parser.cpp -o markdown-parser.o 19 | 20 | markdown-configurable.o: ../../source/markdown-configurable.cpp 21 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-configurable.cpp -o markdown-configurable.o 22 | 23 | markdown-markdown.o: ../../source/markdown-markdown.cpp 24 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-markdown.cpp -o markdown-markdown.o 25 | 26 | markdown-math.o: ../../source/markdown-math.cpp 27 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-math.cpp -o markdown-math.o 28 | 29 | markdown-abstract-math.o: ../../source/markdown-abstract-math.cpp 30 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-abstract-math.cpp -o markdown-abstract-math.o 31 | 32 | markdown-abstract-markdown.o: ../../source/markdown-abstract-markdown.cpp 33 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-abstract-markdown.cpp -o markdown-abstract-markdown.o 34 | 35 | main.o: main.cpp 36 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c main.cpp -o main.o 37 | 38 | clean: 39 | rm -f *.o 40 | 41 | reset: 42 | $(MAKE) clean 43 | rm -f *.html 44 | rm -f math 45 | 46 | .PHONY: clean reset 47 | -------------------------------------------------------------------------------- /examples/math/main.cpp: -------------------------------------------------------------------------------- 1 | #include "../../include/markdown-abstract-math.hpp" 2 | #include "../../include/markdown-parser.hpp" 3 | 4 | int main(int argc, const char* argv[]) 5 | { 6 | // Set the root path where to look for style at ../../ 7 | Markdown::Parser parser("../../"); 8 | 9 | // Don't throw exceptions, just mark 10 | // faulty equations in a special color 11 | parser.math().configure("throw-on-error", false); 12 | 13 | // Set the "faulty-equation" color to blue 14 | parser.math().configure("error-color", "#0000FF"); 15 | 16 | // Have render_file convert test.md into output.html 17 | parser.render_file("test.md", "output.html"); 18 | } 19 | -------------------------------------------------------------------------------- /examples/math/test.md: -------------------------------------------------------------------------------- 1 | This is a complex equation: 2 | 3 | $f(x) = \int_{-\infty}^\infty \hat f(\xi)\,e^{2 \pi i \xi x} \,d\xi$ 4 | 5 | It's super complex, much more so than $1 + 1$. According to Mr. Ramanujan, this is a pretty good way to get $\pi$: 6 | 7 | $\frac{1}{\pi} = \frac{2\sqrt{2}}{9801} \sum^\infty_{k=0} \frac{(4k)!(1103+26390k)}{(k!)^4 396^{4k}}.$ 8 | 9 | Here is a faulty equation: 10 | 11 | $\frac$ 12 | 13 | More math: 14 | 15 | $$\frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\cdots} } } }$$ 16 | 17 | $$ \displaystyle 1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots = \prod_{j=0}^{\infty}\frac{1}{(1-q^{5j+2})(1-q^{5j+3})}$$ 18 | 19 | $$ 20 | \begin{pmatrix} 21 | a_{11} & a_{12} & a_{13}\\ 22 | a_{21} & a_{22} & a_{23}\\ 23 | a_{31} & a_{32} & a_{33} 24 | \end{pmatrix}$$ 25 | 26 | $$ 27 | \begin{bmatrix} 0 & \cdots & 0 \\ \vdots & \ddots & \vdots \\ 0 & \cdots & 0 \end{bmatrix} 28 | $$ 29 | 30 | $\bigtriangledown \dagger \diamond \star \triangleleft 31 | \triangleright \angle \infty \prime \triangle$ 32 | 33 | $\Gamma \Delta \Theta \Lambda \Xi \Pi \Sigma \Upsilon \Phi \Psi \Omega$ 34 | 35 | $\ \omicron \pi \rho \sigma \tau \upsilon \phi \chi \psi \omega \varepsilon \vartheta \varpi \varrho \varsigma \varphi$ 36 | 37 | $\alpha \beta \gamma \delta \epsilon \zeta \eta \theta \iota \kappa \lambda \mu \nu \xi$ 38 | 39 | $\gets \to \leftarrow \rightarrow \uparrow \Uparrow \downarrow \Downarrow \updownarrow \Updownarrow$ 40 | 41 | $\Leftarrow \Rightarrow \leftrightarrow \Leftrightarrow 42 | \mapsto \hookleftarrow$ 43 | 44 | $\leftharpoonup \leftharpoondown \rightleftharpoons \longleftarrow \Longleftarrow \longrightarrow$ 45 | 46 | $\Longrightarrow \longleftrightarrow \Longleftrightarrow \longmapsto 47 | \hookrightarrow \rightharpoonup$ 48 | 49 | $\rightharpoondown \leadsto \nearrow 50 | \searrow \swarrow \nwarrow$ 51 | 52 | $\surd \barwedge \veebar \odot \oplus \otimes \oslash \circledcirc \boxdot 53 | \bigtriangleup$ 54 | -------------------------------------------------------------------------------- /examples/snippet/Makefile: -------------------------------------------------------------------------------- 1 | CXX := c++ 2 | CXXFLAGS := -std=c++1y -stdlib=libc++ 3 | 4 | INCLUDES := -I/usr/local/Cellar/v8/4.5.103.35 -I/usr/local/Cellar/v8/4.5.103.35/include -I/usr/local/Cellar/v8/4.5.103.35/include/libplatform -I/usr/local/include -I../../include -I/usr/local/Cellar/boost/include 5 | 6 | LIBS := -L/usr/local/Cellar/v8/4.5.103.35/lib -L/usr/local/lib -L/usr/local/Cellar/boost/1.58.0/lib -lboost_system -lboost_filesystem -lv8_nosnapshot -lv8_snapshot -lv8_base -lv8_libbase -lv8_libplatform -lv8 -lhoedown 7 | 8 | OBJECTS := main.o markdown-parser.o markdown-configurable.o markdown-markdown.o markdown-math.o markdown-abstract-math.o markdown-abstract-markdown.o 9 | 10 | build: $(OBJECTS) 11 | $(MAKE) snippet 12 | $(MAKE) clean 13 | 14 | snippet: $(OBJECTS) 15 | $(CXX) $(CXXFLAGS) $(OBJECTS) -o snippet $(LIBS) 16 | 17 | markdown-parser.o: ../../source/markdown-parser.cpp 18 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-parser.cpp -o markdown-parser.o 19 | 20 | markdown-configurable.o: ../../source/markdown-configurable.cpp 21 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-configurable.cpp -o markdown-configurable.o 22 | 23 | markdown-markdown.o: ../../source/markdown-markdown.cpp 24 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-markdown.cpp -o markdown-markdown.o 25 | 26 | markdown-math.o: ../../source/markdown-math.cpp 27 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-math.cpp -o markdown-math.o 28 | 29 | markdown-abstract-math.o: ../../source/markdown-abstract-math.cpp 30 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-abstract-math.cpp -o markdown-abstract-math.o 31 | 32 | markdown-abstract-markdown.o: ../../source/markdown-abstract-markdown.cpp 33 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-abstract-markdown.cpp -o markdown-abstract-markdown.o 34 | 35 | main.o: main.cpp 36 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c main.cpp -o main.o 37 | 38 | clean: 39 | rm -f *.o 40 | 41 | reset: 42 | $(MAKE) clean 43 | rm -f snippet 44 | 45 | .PHONY: clean reset 46 | -------------------------------------------------------------------------------- /examples/snippet/main.cpp: -------------------------------------------------------------------------------- 1 | #include "../../include/markdown-parser.hpp" 2 | 3 | #include 4 | 5 | int main(int argc, const char* argv[]) 6 | { 7 | // Set the root path where to look for style at ../../ 8 | Markdown::Parser parser("../../"); 9 | 10 | // Using a parser object for many calls 11 | std::cout << parser.snippet("*hello*, `world`__!!!__"); 12 | 13 | // Or just using the namespace-visible 14 | // snippet function for one-shot rendering 15 | std::cout << Markdown::snippet("~~strike~~ http://github.com"); 16 | } 17 | -------------------------------------------------------------------------------- /examples/styled/Makefile: -------------------------------------------------------------------------------- 1 | CXX := c++ 2 | CXXFLAGS := -std=c++1y -stdlib=libc++ 3 | 4 | INCLUDES := -I/usr/local/Cellar/v8/4.5.103.35 -I/usr/local/Cellar/v8/4.5.103.35/include -I/usr/local/Cellar/v8/4.5.103.35/include/libplatform -I/usr/local/include -I../../include -I/usr/local/Cellar/boost/include 5 | 6 | LIBS := -L/usr/local/Cellar/v8/4.5.103.35/lib -L/usr/local/lib -L/usr/local/Cellar/boost/1.58.0/lib -lboost_system -lboost_filesystem -lv8_nosnapshot -lv8_snapshot -lv8_base -lv8_libbase -lv8_libplatform -lv8 -lhoedown 7 | 8 | OBJECTS := main.o markdown-parser.o markdown-configurable.o markdown-markdown.o markdown-math.o markdown-abstract-math.o markdown-abstract-markdown.o 9 | 10 | build: $(OBJECTS) 11 | $(MAKE) styled 12 | $(MAKE) clean 13 | 14 | styled: $(OBJECTS) 15 | $(CXX) $(CXXFLAGS) $(OBJECTS) -o styled $(LIBS) 16 | 17 | markdown-parser.o: ../../source/markdown-parser.cpp 18 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-parser.cpp -o markdown-parser.o 19 | 20 | markdown-configurable.o: ../../source/markdown-configurable.cpp 21 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-configurable.cpp -o markdown-configurable.o 22 | 23 | markdown-markdown.o: ../../source/markdown-markdown.cpp 24 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-markdown.cpp -o markdown-markdown.o 25 | 26 | markdown-math.o: ../../source/markdown-math.cpp 27 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-math.cpp -o markdown-math.o 28 | 29 | markdown-abstract-math.o: ../../source/markdown-abstract-math.cpp 30 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-abstract-math.cpp -o markdown-abstract-math.o 31 | 32 | markdown-abstract-markdown.o: ../../source/markdown-abstract-markdown.cpp 33 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c ../../source/markdown-abstract-markdown.cpp -o markdown-abstract-markdown.o 34 | 35 | main.o: main.cpp 36 | $(CXX) $(INCLUDES) $(CXXFLAGS) -c main.cpp -o main.o 37 | 38 | clean: 39 | rm -f *.o 40 | 41 | reset: 42 | $(MAKE) clean 43 | rm -f *.html 44 | rm -f styled 45 | 46 | .PHONY: clean reset 47 | -------------------------------------------------------------------------------- /examples/styled/additional.css: -------------------------------------------------------------------------------- 1 | body { 2 | min-width: 200px; 3 | max-width: 790px; 4 | margin: 0 auto; 5 | padding: 30px; 6 | background: black; 7 | } 8 | -------------------------------------------------------------------------------- /examples/styled/main.cpp: -------------------------------------------------------------------------------- 1 | #include "../../include/markdown-parser.hpp" 2 | 3 | int main(int argc, const char* argv[]) 4 | { 5 | // Set the root path where to look for style at ../../ 6 | Markdown::Parser parser("../../"); 7 | 8 | // Add additional stylesheet (for large changes) 9 | parser.stylesheet("additional.css"); 10 | 11 | // Make small change without having to specify additional stylesheet 12 | parser.add_custom_css("body { color: red; }"); 13 | 14 | // Have render_file convert test.md into output.html 15 | parser.render_file("test.md", "output.html"); 16 | } 17 | -------------------------------------------------------------------------------- /examples/styled/test.md: -------------------------------------------------------------------------------- 1 | ## Markdown test file (https://github.com/suan/github-flavored-markdown-test) 2 | 3 | ### This README can be used as a reference for github-flavored-markdown styling (and possibly behavior). 4 | 5 | --- 6 | 7 | # H1 8 | followed by some text 9 | 10 | ## H2 11 | followed by some text 12 | 13 | ### H3 14 | followed by some text 15 | 16 | #### H4 17 | followed by some text 18 | 19 | ##### H5 20 | followed by some text 21 | 22 | ###### H6 23 | followed by some text 24 | 25 | Auto-detected link: http://www.france.com 26 | 27 | Some Ignored_multiple_underscore_italics here 28 | 29 | A line of normal text with `inline code` and *italics*, **strong font**, and even some μ†ℱ ╋ℯ╳╋. Followed by lots of Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis id sem purus, eu commodo tortor. Donec malesuada ultricies dolor a eleifend. In hac habitasse platea dictumst. Vivamus a faucibus ligula. Nullam molestie tristique arcu, eu elementum metus ultricies sed. Aenean luctus congue lectus, vitae semper erat rhoncus non. Nulla facilisi. 30 | 31 | Followed by another line of normal text with `inline code` and *italics*, **strong font**, and even some μ†ℱ ╋ℯ╳╋. Followed by lots of Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis id sem purus, eu commodo tortor. Donec malesuada ultricies dolor a eleifend. In hac habitasse platea dictumst. Vivamus a faucibus ligula. Nullam molestie tristique arcu, eu elementum metus ultricies sed. Aenean luctus congue lectus, vitae semper erat rhoncus non. Nulla facilisi. 32 | 33 | Thin horizontal rule: 34 | 35 | -- 36 | 37 | Thick horizontal rule: 38 | 39 | ------ 40 | 41 | |Table Header 1|Table Header 2 | 42 | |--------------|-------------------------| 43 | |Content |http://example.org | 44 | |Content |http://localhost:\| 45 | Text right below table. Follows is a table with an empty cell, and unaligned indenting. 46 | 47 | |Table Header 1|Table Header 2| 48 | |--------------|--------------| 49 | |Content | Cntent | 50 | |Content | | 51 | 52 | Empty line between table and this text 53 | 54 | def this_is 55 | puts "some #{4-space-indent} code" 56 | end 57 | 58 | 59 | def this_is 60 | puts "some #{code tag} code" 61 | end 62 | 63 | 64 |
 65 | def this_is
 66 |   puts "some #{pre tag} code"
 67 | end
 68 | 
69 | 70 | ``` 71 | def this_is 72 | puts "some #{fenced} code" 73 | end 74 | ``` 75 | 76 | ```ruby 77 | class Classy 78 | def this_is 79 | puts "some #{colored} ruby code with ruby syntax highlighting" 80 | @someobj.do_it(1, 2) 81 | end 82 | end 83 | ``` 84 | 85 | ```javascript 86 | var test = function this_is(){ 87 | console.log("some" + colored + "javascript code with javascript syntax highlighting really long"); 88 | } 89 | ``` 90 | 91 | ```clojure 92 | (defproject myproject "0.5.0-SNAPSHOT" 93 | :description "Some clojure code with syntax highlighting." 94 | :dependencies [[org.clojure/clojure "1.5.1"]] 95 | :plugins [[lein-tar "3.2.0"]]) 96 | ``` 97 | 98 | ```js 99 | var test = function this_is(){ 100 | console.log("language declared as 'js' instead"); 101 | } 102 | ``` 103 | 104 | ```bogus_language 105 | var test = function this_is(){ 106 | console.log("language declared as bogus_language"); 107 | } 108 | ``` 109 | 110 | > here is blockquote 111 | 112 | [Relative image link](afu.png) 113 | -------------------------------------------------------------------------------- /include/markdown-abstract-markdown.hpp: -------------------------------------------------------------------------------- 1 | /***************************************************************************//*! 2 | * 3 | * @file markdown-abstract-markdown.hpp 4 | * 5 | * @author Peter Goldsborough. 6 | * 7 | *******************************************************************************/ 8 | 9 | #ifndef MARKDOWN_ABSTRACT_MARKDOWN_HPP 10 | #define MARKDOWN_ABSTRACT_MARKDOWN_HPP 11 | 12 | #include "markdown-configurable.hpp" 13 | 14 | namespace Markdown 15 | { 16 | /***********************************************************************//*! 17 | * 18 | * @brief An abstract class that handles markdown rendering. 19 | * 20 | * @details It is expected that a markdown engine convert markdown to 21 | * valid html and have a mechanism for enabling/disabling flags. 22 | * 23 | ***************************************************************************/ 24 | 25 | class AbstractMarkdown : public Configurable 26 | { 27 | public: 28 | 29 | using Configurable::settings; 30 | 31 | /*! For flags such as 'ENABLE_TABLES'. */ 32 | using flags_t = unsigned short; 33 | 34 | /*******************************************************************//*! 35 | * 36 | * @brief Initializes members of an abstract markdown engine. 37 | * 38 | * @param settings The configuration-settings for this engine. 39 | * 40 | ***********************************************************************/ 41 | 42 | AbstractMarkdown(const Configurable::settings_t& settings); 43 | 44 | /*******************************************************************//*! 45 | * 46 | * @brief Destructs members of an abstract markdown engine. 47 | * 48 | ***********************************************************************/ 49 | 50 | virtual ~AbstractMarkdown() = default; 51 | 52 | /*******************************************************************//*! 53 | * 54 | * @brief Renders markdown to HTML. 55 | * 56 | * @param markdown A string containing markdown. 57 | * 58 | * @return A one-to-one translation of the markdown to HTML, i.e. 59 | * without the enclosing or tags. E.g. *hello* 60 | * as input should yield "

hello

" as output. 61 | * 62 | ***********************************************************************/ 63 | 64 | virtual std::string render(const std::string& markdown) = 0; 65 | 66 | /*******************************************************************//*! 67 | * 68 | * @brief Sets the confiuguration-settings via flags. 69 | * 70 | * @param flags An OR-ed combination of configuration-flags. 71 | * 72 | ***********************************************************************/ 73 | 74 | virtual void settings(flags_t flags) = 0; 75 | }; 76 | } 77 | 78 | #endif /* MARKDOWN_ABSTRACT_MARKDOWN_HPP */ -------------------------------------------------------------------------------- /include/markdown-abstract-math.hpp: -------------------------------------------------------------------------------- 1 | /***************************************************************************//*! 2 | * 3 | * @file markdown-abstract-math.hpp 4 | * 5 | * @author Peter Goldsborough. 6 | * 7 | *******************************************************************************/ 8 | 9 | #ifndef MARKDOWN_ABSTRACT_MATH_HPP 10 | #define MARKDOWN_ABSTRACT_MATH_HPP 11 | 12 | #include "markdown-configurable.hpp" 13 | 14 | namespace Markdown 15 | { 16 | /***********************************************************************//*! 17 | * 18 | * @brief An abstract class that handles math rendering. 19 | * 20 | * @details It is expected that a math engine 21 | * convert LaTeX expressions to html. 22 | * 23 | ***************************************************************************/ 24 | 25 | class AbstractMath : public Configurable 26 | { 27 | public: 28 | 29 | /*******************************************************************//*! 30 | * 31 | * @brief Initializes members of an abstract math engine. 32 | * 33 | * @param settings The configuration-settings for this engine. 34 | * 35 | ***********************************************************************/ 36 | 37 | AbstractMath(const Configurable::settings_t& settings); 38 | 39 | /*******************************************************************//*! 40 | * 41 | * @brief Destructs members of an abstract math engine. 42 | * 43 | ***********************************************************************/ 44 | 45 | virtual ~AbstractMath() = default; 46 | 47 | /*******************************************************************//*! 48 | * 49 | * @brief Renders math to HTML. 50 | * 51 | * @param expression A string containing a LaTeX expression. 52 | * 53 | * @param display_math Whether to use display-math for the expression. 54 | * 55 | * @return A or
without any enclosing 56 | * or tags, such that the result 57 | * can be embedded in an HTML document. 58 | * 59 | ***********************************************************************/ 60 | 61 | virtual std::string render(const std::string& expression, 62 | bool display_math) = 0; 63 | }; 64 | } 65 | 66 | #endif /* MARKDOWN_ABSTRACT_MATH_HPP */ -------------------------------------------------------------------------------- /include/markdown-exceptions.hpp: -------------------------------------------------------------------------------- 1 | #ifndef MARKDOWN_EXCEPTIONS_HPP 2 | #define MARKDOWN_EXCEPTIONS_HPP 3 | 4 | #include 5 | #include 6 | 7 | namespace Markdown 8 | { 9 | /*! An exception thrown when a requested key is not available. */ 10 | struct ConfigurationKeyException : public std::invalid_argument 11 | { 12 | ConfigurationKeyException(const std::string& key) 13 | : std::invalid_argument("No such key '" + key + "'!") 14 | { } 15 | }; 16 | 17 | /*! An exception thrown when an invalid value is supplied for a key. */ 18 | struct ConfigurationValueException : public std::invalid_argument 19 | { 20 | ConfigurationValueException(const std::string& key, 21 | const std::string& value) 22 | : std::invalid_argument("Invalid value '" + value + 23 | "' for key '" + key + "'!") 24 | { } 25 | }; 26 | 27 | /*! Thrown when the LaTeX expression could not be rendered by KaTeX. */ 28 | struct ParseException : public std::runtime_error 29 | { 30 | ParseException(const std::string& what) 31 | : std::runtime_error(what) 32 | { } 33 | }; 34 | 35 | /*! Thrown when a file could not be opened. */ 36 | struct FileException : public std::runtime_error 37 | { 38 | FileException(const std::string& what) 39 | : std::runtime_error(what) 40 | { } 41 | }; 42 | } 43 | 44 | #endif /* MARKDOWN_EXCEPTIONS_HPP */ 45 | -------------------------------------------------------------------------------- /katex/fonts/KaTeX_AMS-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_AMS-Regular.eot -------------------------------------------------------------------------------- /katex/fonts/KaTeX_AMS-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_AMS-Regular.ttf -------------------------------------------------------------------------------- /katex/fonts/KaTeX_AMS-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_AMS-Regular.woff -------------------------------------------------------------------------------- /katex/fonts/KaTeX_AMS-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_AMS-Regular.woff2 -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Caligraphic-Bold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Caligraphic-Bold.eot -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Caligraphic-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Caligraphic-Bold.ttf -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Caligraphic-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Caligraphic-Bold.woff -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Caligraphic-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Caligraphic-Bold.woff2 -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Caligraphic-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Caligraphic-Regular.eot -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Caligraphic-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Caligraphic-Regular.ttf -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Caligraphic-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Caligraphic-Regular.woff -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Caligraphic-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Caligraphic-Regular.woff2 -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Fraktur-Bold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Fraktur-Bold.eot -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Fraktur-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Fraktur-Bold.ttf -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Fraktur-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Fraktur-Bold.woff -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Fraktur-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Fraktur-Bold.woff2 -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Fraktur-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Fraktur-Regular.eot -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Fraktur-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Fraktur-Regular.ttf -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Fraktur-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Fraktur-Regular.woff -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Fraktur-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Fraktur-Regular.woff2 -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Main-Bold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Main-Bold.eot -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Main-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Main-Bold.ttf -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Main-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Main-Bold.woff -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Main-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Main-Bold.woff2 -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Main-Italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Main-Italic.eot -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Main-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Main-Italic.ttf -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Main-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Main-Italic.woff -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Main-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Main-Italic.woff2 -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Main-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Main-Regular.eot -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Main-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Main-Regular.ttf -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Main-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Main-Regular.woff -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Main-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Main-Regular.woff2 -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Math-BoldItalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Math-BoldItalic.eot -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Math-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Math-BoldItalic.ttf -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Math-BoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Math-BoldItalic.woff -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Math-BoldItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Math-BoldItalic.woff2 -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Math-Italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Math-Italic.eot -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Math-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Math-Italic.ttf -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Math-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Math-Italic.woff -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Math-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Math-Italic.woff2 -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Math-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Math-Regular.eot -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Math-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Math-Regular.ttf -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Math-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Math-Regular.woff -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Math-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Math-Regular.woff2 -------------------------------------------------------------------------------- /katex/fonts/KaTeX_SansSerif-Bold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_SansSerif-Bold.eot -------------------------------------------------------------------------------- /katex/fonts/KaTeX_SansSerif-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_SansSerif-Bold.ttf -------------------------------------------------------------------------------- /katex/fonts/KaTeX_SansSerif-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_SansSerif-Bold.woff -------------------------------------------------------------------------------- /katex/fonts/KaTeX_SansSerif-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_SansSerif-Bold.woff2 -------------------------------------------------------------------------------- /katex/fonts/KaTeX_SansSerif-Italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_SansSerif-Italic.eot -------------------------------------------------------------------------------- /katex/fonts/KaTeX_SansSerif-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_SansSerif-Italic.ttf -------------------------------------------------------------------------------- /katex/fonts/KaTeX_SansSerif-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_SansSerif-Italic.woff -------------------------------------------------------------------------------- /katex/fonts/KaTeX_SansSerif-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_SansSerif-Italic.woff2 -------------------------------------------------------------------------------- /katex/fonts/KaTeX_SansSerif-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_SansSerif-Regular.eot -------------------------------------------------------------------------------- /katex/fonts/KaTeX_SansSerif-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_SansSerif-Regular.ttf -------------------------------------------------------------------------------- /katex/fonts/KaTeX_SansSerif-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_SansSerif-Regular.woff -------------------------------------------------------------------------------- /katex/fonts/KaTeX_SansSerif-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_SansSerif-Regular.woff2 -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Script-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Script-Regular.eot -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Script-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Script-Regular.ttf -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Script-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Script-Regular.woff -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Script-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Script-Regular.woff2 -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Size1-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Size1-Regular.eot -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Size1-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Size1-Regular.ttf -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Size1-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Size1-Regular.woff -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Size1-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Size1-Regular.woff2 -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Size2-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Size2-Regular.eot -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Size2-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Size2-Regular.ttf -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Size2-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Size2-Regular.woff -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Size2-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Size2-Regular.woff2 -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Size3-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Size3-Regular.eot -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Size3-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Size3-Regular.ttf -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Size3-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Size3-Regular.woff -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Size3-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Size3-Regular.woff2 -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Size4-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Size4-Regular.eot -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Size4-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Size4-Regular.ttf -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Size4-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Size4-Regular.woff -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Size4-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Size4-Regular.woff2 -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Typewriter-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Typewriter-Regular.eot -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Typewriter-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Typewriter-Regular.ttf -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Typewriter-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Typewriter-Regular.woff -------------------------------------------------------------------------------- /katex/fonts/KaTeX_Typewriter-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/katex/fonts/KaTeX_Typewriter-Regular.woff2 -------------------------------------------------------------------------------- /katex/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.3.0/katex.min.css 2 | -------------------------------------------------------------------------------- /main.cpp: -------------------------------------------------------------------------------- 1 | #include "markdown-parser.hpp" 2 | 3 | #include "include/markdown-abstract-math.hpp" 4 | 5 | #include 6 | #include 7 | 8 | int main(int argc, const char* argv[]) 9 | { 10 | namespace po = boost::program_options; 11 | 12 | po::options_description description("Usage"); 13 | 14 | std::string markdown_style; 15 | std::string code_style; 16 | std::string include_mode; 17 | std::string stylesheet; 18 | std::string root; 19 | std::string input; 20 | std::string output; 21 | 22 | description.add_options() 23 | ("help", "show help") 24 | ( 25 | "markdown,m", 26 | po::value(&markdown_style) 27 | ->default_value("solarized-dark") 28 | ->value_name("STYLE"), 29 | "set the markdown-style" 30 | ) 31 | ( 32 | "code,c", 33 | po::value(&code_style) 34 | ->default_value("xcode") 35 | ->value_name("STYLE"), 36 | "set the code-style" 37 | ) 38 | ( 39 | "include-mode,l", 40 | po::value(&include_mode) 41 | ->default_value("network") 42 | ->value_name("MODE"), 43 | "set the include-mode" 44 | ) 45 | ( 46 | "stylesheet,s", 47 | po::value(&stylesheet) 48 | ->value_name("PATH"), 49 | "add a stylesheet" 50 | ) 51 | ( 52 | "root,r", 53 | po::value(&root) 54 | ->default_value(".") 55 | ->value_name("PATH"), 56 | "set the root path" 57 | ) 58 | ( 59 | "input,i", 60 | po::value(&input) 61 | ->required(), 62 | "the input markdown file" 63 | ) 64 | ( 65 | "output,o", 66 | po::value(&output) 67 | ->default_value("output.html"), 68 | "the output html file" 69 | ); 70 | 71 | 72 | po::positional_options_description positional; 73 | 74 | positional.add("input", 1); 75 | positional.add("output", 1); 76 | 77 | po::variables_map variables; 78 | 79 | try 80 | { 81 | auto arguments = po::command_line_parser(argc, argv) 82 | .options(description) 83 | .positional(positional) 84 | .run(); 85 | 86 | po::store(arguments, variables); 87 | 88 | if (variables.count("help")) 89 | { 90 | std::cout << description; 91 | 92 | return EXIT_SUCCESS; 93 | } 94 | 95 | po::notify(variables); 96 | 97 | Markdown::Parser parser(root, stylesheet); 98 | 99 | parser.configure("include-mode", include_mode); 100 | 101 | parser.configure("markdown-style", markdown_style); 102 | 103 | parser.configure("code-style", code_style); 104 | 105 | parser.render_file(input, output); 106 | 107 | std::cout << "Success \033[91m<3\033[0m\n"; 108 | } 109 | 110 | catch(po::error& error) 111 | { 112 | std::cerr << "\033[91mError\033[0m: " << error.what() << "\n"; 113 | std::cerr << description; 114 | 115 | return EXIT_FAILURE; 116 | } 117 | 118 | return EXIT_SUCCESS; 119 | } 120 | -------------------------------------------------------------------------------- /markdownpp.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /markdownpp.xcodeproj/project.xcworkspace/xcuserdata/petergoldsborough.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/markdownpp.xcodeproj/project.xcworkspace/xcuserdata/petergoldsborough.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /markdownpp.xcodeproj/xcuserdata/petergoldsborough.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | markdownpp.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 7A1FFCAD1BD7C8B000FD092F 16 | 17 | primary 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /source/markdown-abstract-markdown.cpp: -------------------------------------------------------------------------------- 1 | #include "markdown-abstract-markdown.hpp" 2 | 3 | namespace Markdown 4 | { 5 | AbstractMarkdown::AbstractMarkdown(const Configurable::settings_t& settings) 6 | : Configurable(settings) 7 | { } 8 | } -------------------------------------------------------------------------------- /source/markdown-abstract-math.cpp: -------------------------------------------------------------------------------- 1 | #include "markdown-abstract-math.hpp" 2 | 3 | namespace Markdown 4 | { 5 | AbstractMath::AbstractMath(const Configurable::settings_t& settings) 6 | : Configurable(settings) 7 | { } 8 | } -------------------------------------------------------------------------------- /source/markdown-configurable.cpp: -------------------------------------------------------------------------------- 1 | #include "markdown-configurable.hpp" 2 | #include "markdown-exceptions.hpp" 3 | 4 | namespace Markdown 5 | { 6 | Configurable::Configurable(const settings_t& settings) 7 | : _settings(settings) 8 | { } 9 | 10 | Configurable::~Configurable() = default; 11 | 12 | void Configurable::configure(const std::string &key, 13 | const std::string &value) 14 | { 15 | _get(key) = value; 16 | } 17 | 18 | void Configurable::configure(const std::string &key, 19 | const char *value) 20 | { 21 | configure(key, std::string(value)); 22 | } 23 | 24 | std::string& Configurable::operator[](const std::string &key) 25 | { 26 | return _get(key); 27 | } 28 | 29 | const std::string& Configurable::operator[](const std::string &key) const 30 | { 31 | return _get(key); 32 | } 33 | 34 | void Configurable::settings(const settings_t &settings) 35 | { 36 | _settings = settings; 37 | } 38 | 39 | const Configurable::settings_t& Configurable::settings() const 40 | { 41 | return _settings; 42 | } 43 | 44 | std::string& Configurable::_get(const std::string& key) 45 | { 46 | auto setting = _settings.find(key); 47 | 48 | if (setting == _settings.end()) 49 | { 50 | throw ConfigurationKeyException(key); 51 | } 52 | 53 | return setting->second; 54 | } 55 | 56 | const std::string& Configurable::_get(const std::string& key) const 57 | { 58 | auto setting = _settings.find(key); 59 | 60 | if (setting == _settings.end()) 61 | { 62 | throw ConfigurationKeyException(key); 63 | } 64 | 65 | return setting->second; 66 | } 67 | } -------------------------------------------------------------------------------- /themes/code/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2006, Ivan Sagalaev 2 | All rights reserved. 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are met: 5 | 6 | * Redistributions of source code must retain the above copyright 7 | notice, this list of conditions and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright 9 | notice, this list of conditions and the following disclaimer in the 10 | documentation and/or other materials provided with the distribution. 11 | * Neither the name of highlight.js nor the names of its contributors 12 | may be used to endorse or promote products derived from this software 13 | without specific prior written permission. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY 16 | EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 17 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 18 | DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY 19 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 20 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 21 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 22 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 24 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 | -------------------------------------------------------------------------------- /themes/code/highlight/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/highlight.min.js 2 | -------------------------------------------------------------------------------- /themes/code/style/agate/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/agate.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/agate/style.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Agate by Taufik Nurrohman 3 | * ---------------------------------------------------- 4 | * 5 | * #ade5fc 6 | * #a2fca2 7 | * #c6b4f0 8 | * #d36363 9 | * #fcc28c 10 | * #fc9b9b 11 | * #ffa 12 | * #fff 13 | * #333 14 | * #62c8f3 15 | * #888 16 | * 17 | */ 18 | 19 | .hljs { 20 | display: block; 21 | overflow-x: auto; 22 | padding: .5em; 23 | background: #333; 24 | color: white; 25 | -webkit-text-size-adjust: none; 26 | } 27 | 28 | .asciidoc .hljs-title, 29 | .hljs-label, 30 | .hljs-tag .hljs-title, 31 | .hljs-prompt, 32 | .http .hljs-request { 33 | font-weight: bold; 34 | } 35 | 36 | .hljs-change, 37 | .hljs-code { 38 | font-style: italic; 39 | } 40 | 41 | .hljs-tag, 42 | .ini .hljs-title { 43 | color: #62c8f3; 44 | } 45 | 46 | .hljs-id, 47 | .hljs-cbracket, 48 | .hljs-tag .hljs-value { 49 | color: #ade5fc; 50 | } 51 | 52 | .hljs-string, 53 | .hljs-bullet { 54 | color: #a2fca2; 55 | } 56 | 57 | .hljs-type, 58 | .hljs-variable, 59 | .hljs-name, 60 | .actionscript .hljs-title, 61 | .aspectj .hljs-annotation, 62 | .aspectj .hljs-title, 63 | .hljs-attribute, 64 | .hljs-change, 65 | .hljs-blockquote, 66 | .hljs-built_in { 67 | color: #ffa; 68 | } 69 | 70 | .hljs-number, 71 | .hljs-hexcolor, 72 | .hljs-link_label, 73 | .hljs-link_reference { 74 | color: #d36363; 75 | } 76 | 77 | .hljs-keyword, 78 | .hljs-literal, 79 | .hljs-constant, 80 | .css .hljs-tag, 81 | .hljs-typename, 82 | .hljs-winutils { 83 | color: #fcc28c; 84 | } 85 | 86 | .hljs-comment, 87 | .hljs-cdata, 88 | .hljs-preprocessor, 89 | .hljs-annotation, 90 | .hljs-decorator, 91 | .hljs-doctype, 92 | .hljs-deletion, 93 | .hljs-shebang, 94 | .apache .hljs-sqbracket, 95 | .tex .hljs-formula, 96 | .hljs-header, 97 | .hljs-horizontal_rule, 98 | .hljs-code { 99 | color: #888; 100 | } 101 | 102 | .hljs-regexp, 103 | .hljs-attr_selector { 104 | color: #c6b4f0; 105 | } 106 | 107 | .hljs-important, 108 | .hljs-doctype, 109 | .hljs-pi, 110 | .hljs-chunk, 111 | .actionscript .hljs-type, 112 | .hljs-shebang, 113 | .hljs-pragma, 114 | .http .hljs-attribute { 115 | color: #fc9b9b; 116 | } 117 | 118 | .hljs-deletion { 119 | background-color: #fc9b9b; 120 | color: #333; 121 | } 122 | 123 | .hljs-addition { 124 | background-color: #a2fca2; 125 | color: #333; 126 | } 127 | 128 | .hljs a, 129 | .hljs-tag .hljs-attribute { 130 | color: inherit; 131 | } 132 | 133 | .hljs a:focus, 134 | .hljs a:hover { 135 | color: inherit; 136 | text-decoration: underline; 137 | } 138 | -------------------------------------------------------------------------------- /themes/code/style/androidstudio/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/androidstudio.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/androidstudio/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | Date: 24 Fev 2015 3 | Author: Pedro Oliveira 4 | */ 5 | 6 | .hljs { 7 | color: #a9b7c6; 8 | background: #282b2e; 9 | display: block; 10 | overflow-x: auto; 11 | padding: 0.5em; 12 | -webkit-text-size-adjust: none; 13 | } 14 | 15 | .hljs-number { 16 | color: #6897BB; 17 | } 18 | 19 | .hljs-keyword, 20 | .hljs-deletion { 21 | color: #cc7832; 22 | } 23 | 24 | .hljs-comment { 25 | color: #808080; 26 | } 27 | 28 | .hljs-annotation { 29 | color: #bbb529; 30 | } 31 | 32 | .hljs-string, 33 | .hljs-addition { 34 | color: #6A8759; 35 | } 36 | 37 | .hljs-function .hljs-title, 38 | .hljs-change { 39 | color: #ffc66d; 40 | } 41 | 42 | .hljs-tag .hljs-title, 43 | .hljs-doctype { 44 | color: #e8bf6a; 45 | } 46 | 47 | .hljs-tag .hljs-attribute { 48 | color: #bababa; 49 | } 50 | 51 | .hljs-tag .hljs-value { 52 | color: #a5c261; 53 | } 54 | -------------------------------------------------------------------------------- /themes/code/style/arta/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/arta.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/arta/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | Date: 17.V.2011 3 | Author: pumbur 4 | */ 5 | 6 | .hljs { 7 | display: block; 8 | overflow-x: auto; 9 | padding: 0.5em; 10 | background: #222; 11 | -webkit-text-size-adjust: none; 12 | } 13 | 14 | .profile .hljs-header *, 15 | .ini .hljs-title, 16 | .nginx .hljs-title { 17 | color: #fff; 18 | } 19 | 20 | .hljs-comment, 21 | .hljs-preprocessor, 22 | .hljs-preprocessor .hljs-title, 23 | .hljs-pragma, 24 | .hljs-shebang, 25 | .profile .hljs-summary, 26 | .diff, 27 | .hljs-pi, 28 | .hljs-doctype, 29 | .hljs-tag, 30 | .css .hljs-rule, 31 | .tex .hljs-special { 32 | color: #444; 33 | } 34 | 35 | .hljs-string, 36 | .hljs-symbol, 37 | .diff .hljs-change, 38 | .hljs-regexp, 39 | .xml .hljs-attribute, 40 | .smalltalk .hljs-char, 41 | .xml .hljs-value, 42 | .ini .hljs-value, 43 | .clojure .hljs-attribute, 44 | .coffeescript .hljs-attribute { 45 | color: #ffcc33; 46 | } 47 | 48 | .hljs-number, 49 | .hljs-addition { 50 | color: #00cc66; 51 | } 52 | 53 | .hljs-built_in, 54 | .hljs-literal, 55 | .hljs-type, 56 | .hljs-typename, 57 | .go .hljs-constant, 58 | .ini .hljs-keyword, 59 | .lua .hljs-title, 60 | .perl .hljs-variable, 61 | .php .hljs-variable, 62 | .mel .hljs-variable, 63 | .django .hljs-variable, 64 | .css .funtion, 65 | .smalltalk .method, 66 | .hljs-hexcolor, 67 | .hljs-important, 68 | .hljs-flow, 69 | .hljs-inheritance, 70 | .hljs-name, 71 | .parser3 .hljs-variable { 72 | color: #32aaee; 73 | } 74 | 75 | .hljs-keyword, 76 | .hljs-tag .hljs-title, 77 | .css .hljs-tag, 78 | .css .hljs-class, 79 | .css .hljs-id, 80 | .css .hljs-pseudo, 81 | .css .hljs-attr_selector, 82 | .hljs-winutils, 83 | .tex .hljs-command, 84 | .hljs-request, 85 | .hljs-status { 86 | color: #6644aa; 87 | } 88 | 89 | .hljs-title, 90 | .ruby .hljs-constant, 91 | .vala .hljs-constant, 92 | .hljs-parent, 93 | .hljs-deletion, 94 | .hljs-template_tag, 95 | .css .hljs-keyword, 96 | .objectivec .hljs-class .hljs-id, 97 | .smalltalk .hljs-class, 98 | .lisp .hljs-keyword, 99 | .apache .hljs-tag, 100 | .nginx .hljs-variable, 101 | .hljs-envvar, 102 | .bash .hljs-variable, 103 | .go .hljs-built_in, 104 | .vbscript .hljs-built_in, 105 | .lua .hljs-built_in, 106 | .rsl .hljs-built_in, 107 | .tail, 108 | .avrasm .hljs-label, 109 | .tex .hljs-formula, 110 | .tex .hljs-formula * { 111 | color: #bb1166; 112 | } 113 | 114 | .hljs-doctag, 115 | .profile .hljs-header, 116 | .ini .hljs-title, 117 | .apache .hljs-tag, 118 | .parser3 .hljs-title { 119 | font-weight: bold; 120 | } 121 | 122 | .coffeescript .javascript, 123 | .javascript .xml, 124 | .tex .hljs-formula, 125 | .xml .javascript, 126 | .xml .vbscript, 127 | .xml .css, 128 | .xml .hljs-cdata { 129 | opacity: 0.6; 130 | } 131 | 132 | .hljs, 133 | .hljs-subst, 134 | .diff .hljs-chunk, 135 | .css .hljs-value, 136 | .css .hljs-attribute { 137 | color: #aaa; 138 | } 139 | -------------------------------------------------------------------------------- /themes/code/style/ascetic/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/ascetic.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/ascetic/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Original style from softwaremaniacs.org (c) Ivan Sagalaev 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: white; 12 | color: black; 13 | -webkit-text-size-adjust: none; 14 | } 15 | 16 | .hljs-string, 17 | .hljs-tag .hljs-value, 18 | .hljs-filter .hljs-argument, 19 | .hljs-addition, 20 | .hljs-change, 21 | .hljs-name, 22 | .apache .hljs-tag, 23 | .apache .hljs-cbracket, 24 | .nginx .hljs-built_in, 25 | .tex .hljs-formula { 26 | color: #888; 27 | } 28 | 29 | .hljs-comment, 30 | .hljs-shebang, 31 | .hljs-doctype, 32 | .hljs-pi, 33 | .hljs-deletion, 34 | .apache .hljs-sqbracket { 35 | color: #ccc; 36 | } 37 | 38 | .hljs-keyword, 39 | .hljs-tag .hljs-title, 40 | .ini .hljs-title, 41 | .lisp .hljs-title, 42 | .http .hljs-title, 43 | .nginx .hljs-title, 44 | .css .hljs-tag, 45 | .hljs-winutils, 46 | .hljs-flow, 47 | .apache .hljs-tag, 48 | .tex .hljs-command, 49 | .hljs-request, 50 | .hljs-status { 51 | font-weight: bold; 52 | } 53 | -------------------------------------------------------------------------------- /themes/code/style/atelier-cave/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/atelier-cave.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/atelier-cave/style.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Cave Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Cave Comment */ 6 | .hljs-comment { 7 | color: #655f6d; 8 | } 9 | 10 | /* Atelier-Cave Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #be4678; 25 | } 26 | 27 | /* Atelier-Cave Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #aa573c; 35 | } 36 | 37 | /* Atelier-Cave Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #a06e3b; 41 | } 42 | 43 | /* Atelier-Cave Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #2a9292; 51 | } 52 | 53 | /* Atelier-Cave Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #398bc6; 57 | } 58 | 59 | /* Atelier-Cave Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #576ddb; 69 | } 70 | 71 | /* Atelier-Cave Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #955ae7; 75 | } 76 | 77 | .diff .hljs-deletion, 78 | .diff .hljs-addition { 79 | color: #19171c; 80 | display: inline-block; 81 | width: 100%; 82 | } 83 | 84 | .diff .hljs-deletion { 85 | background-color: #be4678; 86 | } 87 | 88 | .diff .hljs-addition { 89 | background-color: #2a9292; 90 | } 91 | 92 | .diff .hljs-change { 93 | color: #576ddb; 94 | } 95 | 96 | .hljs { 97 | display: block; 98 | overflow-x: auto; 99 | background: #efecf4; 100 | color: #585260; 101 | padding: 0.5em; 102 | -webkit-text-size-adjust: none; 103 | } 104 | 105 | .coffeescript .javascript, 106 | .javascript .xml, 107 | .tex .hljs-formula, 108 | .xml .javascript, 109 | .xml .vbscript, 110 | .xml .css, 111 | .xml .hljs-cdata { 112 | opacity: 0.5; 113 | } 114 | -------------------------------------------------------------------------------- /themes/code/style/atelier-dune/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/atelier-dune.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/atelier-dune/style.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Dune Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Dune Comment */ 6 | .hljs-comment { 7 | color: #7d7a68; 8 | } 9 | 10 | /* Atelier-Dune Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #d73737; 25 | } 26 | 27 | /* Atelier-Dune Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #b65611; 35 | } 36 | 37 | /* Atelier-Dune Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #ae9513; 41 | } 42 | 43 | /* Atelier-Dune Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #60ac39; 51 | } 52 | 53 | /* Atelier-Dune Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #1fad83; 57 | } 58 | 59 | /* Atelier-Dune Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #6684e1; 69 | } 70 | 71 | /* Atelier-Dune Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #b854d4; 75 | } 76 | 77 | .hljs { 78 | display: block; 79 | overflow-x: auto; 80 | background: #fefbec; 81 | color: #6e6b5e; 82 | padding: 0.5em; 83 | -webkit-text-size-adjust: none; 84 | } 85 | 86 | .coffeescript .javascript, 87 | .javascript .xml, 88 | .tex .hljs-formula, 89 | .xml .javascript, 90 | .xml .vbscript, 91 | .xml .css, 92 | .xml .hljs-cdata { 93 | opacity: 0.5; 94 | } 95 | -------------------------------------------------------------------------------- /themes/code/style/atelier-estuary/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/atelier-estuary.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/atelier-estuary/style.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Estuary Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/estuary) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Estuary Comment */ 6 | .hljs-comment { 7 | color: #6c6b5a; 8 | } 9 | 10 | /* Atelier-Estuary Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #ba6236; 25 | } 26 | 27 | /* Atelier-Estuary Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #ae7313; 35 | } 36 | 37 | /* Atelier-Estuary Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #a5980d; 41 | } 42 | 43 | /* Atelier-Estuary Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #7d9726; 51 | } 52 | 53 | /* Atelier-Estuary Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #5b9d48; 57 | } 58 | 59 | /* Atelier-Estuary Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #36a166; 69 | } 70 | 71 | /* Atelier-Estuary Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #5f9182; 75 | } 76 | 77 | .diff .hljs-deletion, 78 | .diff .hljs-addition { 79 | color: #22221b; 80 | display: inline-block; 81 | width: 100%; 82 | } 83 | 84 | .diff .hljs-deletion { 85 | background-color: #ba6236; 86 | } 87 | 88 | .diff .hljs-addition { 89 | background-color: #7d9726; 90 | } 91 | 92 | .diff .hljs-change { 93 | color: #36a166; 94 | } 95 | 96 | .hljs { 97 | display: block; 98 | overflow-x: auto; 99 | background: #f4f3ec; 100 | color: #5f5e4e; 101 | padding: 0.5em; 102 | -webkit-text-size-adjust: none; 103 | } 104 | 105 | .coffeescript .javascript, 106 | .javascript .xml, 107 | .tex .hljs-formula, 108 | .xml .javascript, 109 | .xml .vbscript, 110 | .xml .css, 111 | .xml .hljs-cdata { 112 | opacity: 0.5; 113 | } 114 | -------------------------------------------------------------------------------- /themes/code/style/atelier-forest/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/atelier-forest.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/atelier-forest/style.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Forest Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Forest Comment */ 6 | .hljs-comment { 7 | color: #766e6b; 8 | } 9 | 10 | /* Atelier-Forest Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #f22c40; 25 | } 26 | 27 | /* Atelier-Forest Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #df5320; 35 | } 36 | 37 | /* Atelier-Forest Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #c38418; 41 | } 42 | 43 | /* Atelier-Forest Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #7b9726; 51 | } 52 | 53 | /* Atelier-Forest Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #3d97b8; 57 | } 58 | 59 | /* Atelier-Forest Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #407ee7; 69 | } 70 | 71 | /* Atelier-Forest Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #6666ea; 75 | } 76 | 77 | .hljs { 78 | display: block; 79 | overflow-x: auto; 80 | background: #f1efee; 81 | color: #68615e; 82 | padding: 0.5em; 83 | -webkit-text-size-adjust: none; 84 | } 85 | 86 | .coffeescript .javascript, 87 | .javascript .xml, 88 | .tex .hljs-formula, 89 | .xml .javascript, 90 | .xml .vbscript, 91 | .xml .css, 92 | .xml .hljs-cdata { 93 | opacity: 0.5; 94 | } 95 | -------------------------------------------------------------------------------- /themes/code/style/atelier-heath/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/atelier-heath.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/atelier-heath/style.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Heath Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Heath Comment */ 6 | .hljs-comment { 7 | color: #776977; 8 | } 9 | 10 | /* Atelier-Heath Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #ca402b; 25 | } 26 | 27 | /* Atelier-Heath Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #a65926; 35 | } 36 | 37 | /* Atelier-Heath Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #bb8a35; 41 | } 42 | 43 | /* Atelier-Heath Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #918b3b; 51 | } 52 | 53 | /* Atelier-Heath Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #159393; 57 | } 58 | 59 | /* Atelier-Heath Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #516aec; 69 | } 70 | 71 | /* Atelier-Heath Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #7b59c0; 75 | } 76 | 77 | .hljs { 78 | display: block; 79 | overflow-x: auto; 80 | background: #f7f3f7; 81 | color: #695d69; 82 | padding: 0.5em; 83 | -webkit-text-size-adjust: none; 84 | } 85 | 86 | .coffeescript .javascript, 87 | .javascript .xml, 88 | .tex .hljs-formula, 89 | .xml .javascript, 90 | .xml .vbscript, 91 | .xml .css, 92 | .xml .hljs-cdata { 93 | opacity: 0.5; 94 | } 95 | -------------------------------------------------------------------------------- /themes/code/style/atelier-lakeside/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/atelier-lakeside.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/atelier-lakeside/style.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Lakeside Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Lakeside Comment */ 6 | .hljs-comment { 7 | color: #5a7b8c; 8 | } 9 | 10 | /* Atelier-Lakeside Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #d22d72; 25 | } 26 | 27 | /* Atelier-Lakeside Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #935c25; 35 | } 36 | 37 | /* Atelier-Lakeside Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #8a8a0f; 41 | } 42 | 43 | /* Atelier-Lakeside Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #568c3b; 51 | } 52 | 53 | /* Atelier-Lakeside Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #2d8f6f; 57 | } 58 | 59 | /* Atelier-Lakeside Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #257fad; 69 | } 70 | 71 | /* Atelier-Lakeside Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #6b6bb8; 75 | } 76 | 77 | .hljs { 78 | display: block; 79 | overflow-x: auto; 80 | background: #ebf8ff; 81 | color: #516d7b; 82 | padding: 0.5em; 83 | -webkit-text-size-adjust: none; 84 | } 85 | 86 | .coffeescript .javascript, 87 | .javascript .xml, 88 | .tex .hljs-formula, 89 | .xml .javascript, 90 | .xml .vbscript, 91 | .xml .css, 92 | .xml .hljs-cdata { 93 | opacity: 0.5; 94 | } 95 | -------------------------------------------------------------------------------- /themes/code/style/atelier-plateau/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/atelier-plateau.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/atelier-plateau/style.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Plateau Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/plateau) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Plateau Comment */ 6 | .hljs-comment { 7 | color: #655d5d; 8 | } 9 | 10 | /* Atelier-Plateau Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #ca4949; 25 | } 26 | 27 | /* Atelier-Plateau Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #b45a3c; 35 | } 36 | 37 | /* Atelier-Plateau Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #a06e3b; 41 | } 42 | 43 | /* Atelier-Plateau Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #4b8b8b; 51 | } 52 | 53 | /* Atelier-Plateau Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #5485b6; 57 | } 58 | 59 | /* Atelier-Plateau Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #7272ca; 69 | } 70 | 71 | /* Atelier-Plateau Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #8464c4; 75 | } 76 | 77 | .diff .hljs-deletion, 78 | .diff .hljs-addition { 79 | color: #1b1818; 80 | display: inline-block; 81 | width: 100%; 82 | } 83 | 84 | .diff .hljs-deletion { 85 | background-color: #ca4949; 86 | } 87 | 88 | .diff .hljs-addition { 89 | background-color: #4b8b8b; 90 | } 91 | 92 | .diff .hljs-change { 93 | color: #7272ca; 94 | } 95 | 96 | .hljs { 97 | display: block; 98 | overflow-x: auto; 99 | background: #f4ecec; 100 | color: #585050; 101 | padding: 0.5em; 102 | -webkit-text-size-adjust: none; 103 | } 104 | 105 | .coffeescript .javascript, 106 | .javascript .xml, 107 | .tex .hljs-formula, 108 | .xml .javascript, 109 | .xml .vbscript, 110 | .xml .css, 111 | .xml .hljs-cdata { 112 | opacity: 0.5; 113 | } 114 | -------------------------------------------------------------------------------- /themes/code/style/atelier-savanna/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/atelier-savanna.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/atelier-savanna/style.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Savanna Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/savanna) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Savanna Comment */ 6 | .hljs-comment { 7 | color: #5f6d64; 8 | } 9 | 10 | /* Atelier-Savanna Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #b16139; 25 | } 26 | 27 | /* Atelier-Savanna Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #9f713c; 35 | } 36 | 37 | /* Atelier-Savanna Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #a07e3b; 41 | } 42 | 43 | /* Atelier-Savanna Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #489963; 51 | } 52 | 53 | /* Atelier-Savanna Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #1c9aa0; 57 | } 58 | 59 | /* Atelier-Savanna Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #478c90; 69 | } 70 | 71 | /* Atelier-Savanna Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #55859b; 75 | } 76 | 77 | .diff .hljs-deletion, 78 | .diff .hljs-addition { 79 | color: #171c19; 80 | display: inline-block; 81 | width: 100%; 82 | } 83 | 84 | .diff .hljs-deletion { 85 | background-color: #b16139; 86 | } 87 | 88 | .diff .hljs-addition { 89 | background-color: #489963; 90 | } 91 | 92 | .diff .hljs-change { 93 | color: #478c90; 94 | } 95 | 96 | .hljs { 97 | display: block; 98 | overflow-x: auto; 99 | background: #ecf4ee; 100 | color: #526057; 101 | padding: 0.5em; 102 | -webkit-text-size-adjust: none; 103 | } 104 | 105 | .coffeescript .javascript, 106 | .javascript .xml, 107 | .tex .hljs-formula, 108 | .xml .javascript, 109 | .xml .vbscript, 110 | .xml .css, 111 | .xml .hljs-cdata { 112 | opacity: 0.5; 113 | } 114 | -------------------------------------------------------------------------------- /themes/code/style/atelier-seaside/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/atelier-seaside.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/atelier-seaside/style.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Seaside Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Seaside Comment */ 6 | .hljs-comment { 7 | color: #687d68; 8 | } 9 | 10 | /* Atelier-Seaside Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #e6193c; 25 | } 26 | 27 | /* Atelier-Seaside Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #87711d; 35 | } 36 | 37 | /* Atelier-Seaside Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #98981b; 41 | } 42 | 43 | /* Atelier-Seaside Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #29a329; 51 | } 52 | 53 | /* Atelier-Seaside Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #1999b3; 57 | } 58 | 59 | /* Atelier-Seaside Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #3d62f5; 69 | } 70 | 71 | /* Atelier-Seaside Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #ad2bee; 75 | } 76 | 77 | .hljs { 78 | display: block; 79 | overflow-x: auto; 80 | background: #f4fbf4; 81 | color: #5e6e5e; 82 | padding: 0.5em; 83 | -webkit-text-size-adjust: none; 84 | } 85 | 86 | .coffeescript .javascript, 87 | .javascript .xml, 88 | .tex .hljs-formula, 89 | .xml .javascript, 90 | .xml .vbscript, 91 | .xml .css, 92 | .xml .hljs-cdata { 93 | opacity: 0.5; 94 | } 95 | -------------------------------------------------------------------------------- /themes/code/style/atelier-sulphurpool/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/atelier-sulphurpool.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/atelier-sulphurpool/style.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Sulphurpool Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/sulphurpool) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Sulphurpool Comment */ 6 | .hljs-comment { 7 | color: #6b7394; 8 | } 9 | 10 | /* Atelier-Sulphurpool Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .hljs-name, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #c94922; 25 | } 26 | 27 | /* Atelier-Sulphurpool Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #c76b29; 35 | } 36 | 37 | /* Atelier-Sulphurpool Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #c08b30; 41 | } 42 | 43 | /* Atelier-Sulphurpool Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .ruby .hljs-symbol, 49 | .xml .hljs-cdata { 50 | color: #ac9739; 51 | } 52 | 53 | /* Atelier-Sulphurpool Aqua */ 54 | .hljs-title, 55 | .css .hljs-hexcolor { 56 | color: #22a2c9; 57 | } 58 | 59 | /* Atelier-Sulphurpool Blue */ 60 | .hljs-function, 61 | .python .hljs-decorator, 62 | .python .hljs-title, 63 | .ruby .hljs-function .hljs-title, 64 | .ruby .hljs-title .hljs-keyword, 65 | .perl .hljs-sub, 66 | .javascript .hljs-title, 67 | .coffeescript .hljs-title { 68 | color: #3d8fd1; 69 | } 70 | 71 | /* Atelier-Sulphurpool Purple */ 72 | .hljs-keyword, 73 | .javascript .hljs-function { 74 | color: #6679cc; 75 | } 76 | 77 | .hljs { 78 | display: block; 79 | overflow-x: auto; 80 | background: #f5f7ff; 81 | color: #5e6687; 82 | padding: 0.5em; 83 | -webkit-text-size-adjust: none; 84 | } 85 | 86 | .coffeescript .javascript, 87 | .javascript .xml, 88 | .tex .hljs-formula, 89 | .xml .javascript, 90 | .xml .vbscript, 91 | .xml .css, 92 | .xml .hljs-cdata { 93 | opacity: 0.5; 94 | } 95 | -------------------------------------------------------------------------------- /themes/code/style/brown_paper/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/brown_paper.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/brown_paper/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Brown Paper style from goldblog.com.ua (c) Zaripov Yura 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background:#b7a68e url(./brown_papersq.png); 12 | -webkit-text-size-adjust: none; 13 | } 14 | 15 | .hljs-keyword, 16 | .hljs-literal, 17 | .hljs-change, 18 | .hljs-winutils, 19 | .hljs-flow, 20 | .nginx .hljs-title, 21 | .tex .hljs-special, 22 | .hljs-request, 23 | .hljs-status { 24 | color:#005599; 25 | font-weight:bold; 26 | } 27 | 28 | .hljs, 29 | .hljs-subst, 30 | .hljs-tag .hljs-keyword { 31 | color: #363c69; 32 | } 33 | 34 | .hljs-string, 35 | .hljs-title, 36 | .hljs-type, 37 | .hljs-tag .hljs-value, 38 | .css .hljs-rule .hljs-value, 39 | .hljs-preprocessor, 40 | .hljs-pragma, 41 | .ruby .hljs-symbol, 42 | .ruby .hljs-symbol .hljs-string, 43 | .ruby .hljs-class .hljs-parent, 44 | .hljs-built_in, 45 | .django .hljs-template_tag, 46 | .django .hljs-variable, 47 | .smalltalk .hljs-class, 48 | .ruby .hljs-string, 49 | .django .hljs-filter .hljs-argument, 50 | .smalltalk .hljs-localvars, 51 | .smalltalk .hljs-array, 52 | .hljs-attr_selector, 53 | .hljs-pseudo, 54 | .hljs-addition, 55 | .hljs-stream, 56 | .hljs-envvar, 57 | .apache .hljs-tag, 58 | .apache .hljs-cbracket, 59 | .tex .hljs-number, 60 | .hljs-name { 61 | color: #2c009f; 62 | } 63 | 64 | .hljs-comment, 65 | .hljs-annotation, 66 | .hljs-decorator, 67 | .hljs-pi, 68 | .hljs-doctype, 69 | .hljs-deletion, 70 | .hljs-shebang, 71 | .apache .hljs-sqbracket, 72 | .nginx .hljs-built_in, 73 | .tex .hljs-formula { 74 | color: #802022; 75 | } 76 | 77 | .hljs-keyword, 78 | .hljs-literal, 79 | .css .hljs-id, 80 | .hljs-doctag, 81 | .hljs-title, 82 | .hljs-type, 83 | .vbscript .hljs-built_in, 84 | .rsl .hljs-built_in, 85 | .smalltalk .hljs-class, 86 | .diff .hljs-header, 87 | .hljs-chunk, 88 | .hljs-winutils, 89 | .bash .hljs-variable, 90 | .apache .hljs-tag, 91 | .tex .hljs-command { 92 | font-weight: bold; 93 | } 94 | 95 | .coffeescript .javascript, 96 | .javascript .xml, 97 | .tex .hljs-formula, 98 | .xml .javascript, 99 | .xml .vbscript, 100 | .xml .css, 101 | .xml .hljs-cdata { 102 | opacity: 0.8; 103 | } 104 | -------------------------------------------------------------------------------- /themes/code/style/brown_papersq/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/brown_papersq.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/brown_papersq/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/themes/code/style/brown_papersq/style.css -------------------------------------------------------------------------------- /themes/code/style/codepen-embed/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/codepen-embed.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/codepen-embed/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | codepen.io Embed Theme 3 | Author: Justin Perry 4 | Original theme - https://github.com/chriskempson/tomorrow-theme 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #222; 12 | color: #fff; 13 | font-family: Menlo, Monaco, 'Andale Mono', 'Lucida Console', 'Courier New', monospace; 14 | -webkit-text-size-adjust: none; 15 | } 16 | 17 | .hljs-comment, 18 | .hljs-title { 19 | color: #777; 20 | } 21 | 22 | .hljs-variable, 23 | .hljs-attribute, 24 | .hljs-tag, 25 | .hljs-regexp, 26 | .hljs-name, 27 | .ruby .constant, 28 | .xml .tag .title, 29 | .xml .pi, 30 | .xml .doctype, 31 | .html .doctype { 32 | color: #ab875d; 33 | } 34 | 35 | .css .value { 36 | color: #cd6a51; 37 | } 38 | 39 | .css .value .function, 40 | .css .value .string { 41 | color: #a67f59; 42 | } 43 | 44 | .css .value .number { 45 | color: #9b869c; 46 | } 47 | 48 | .css .id, 49 | .css .class, 50 | .css-pseudo, 51 | .css .selector, 52 | .css .tag { 53 | color: #dfc48c; 54 | } 55 | 56 | .hljs-number, 57 | .hljs-preprocessor, 58 | .hljs-built_in, 59 | .hljs-literal, 60 | .hljs-params, 61 | .hljs-constant { 62 | color: #ab875d; 63 | } 64 | 65 | .ruby .class .title, 66 | .css .rules .attribute { 67 | color: #9b869b; 68 | } 69 | 70 | .hljs-string, 71 | .hljs-value, 72 | .hljs-inheritance, 73 | .hljs-header, 74 | .ruby .symbol, 75 | .xml .cdata { 76 | color: #8f9c6c; 77 | } 78 | 79 | .css .hexcolor { 80 | color: #cd6a51; 81 | } 82 | 83 | .function, 84 | .python .decorator, 85 | .python .title, 86 | .ruby .function .title, 87 | .ruby .title .keyword, 88 | .perl .sub, 89 | .javascript .title, 90 | .coffeescript .title { 91 | color: #fff; 92 | } 93 | 94 | .hljs-keyword, 95 | .javascript .function { 96 | color: #8f9c6c; 97 | } 98 | -------------------------------------------------------------------------------- /themes/code/style/color-brewer/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/color-brewer.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/dark/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/dark.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/dark/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Dark style from softwaremaniacs.org (c) Ivan Sagalaev 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #444; 12 | -webkit-text-size-adjust: none; 13 | } 14 | 15 | .hljs-keyword, 16 | .hljs-literal, 17 | .hljs-change, 18 | .hljs-winutils, 19 | .hljs-flow, 20 | .nginx .hljs-title, 21 | .tex .hljs-special { 22 | color: white; 23 | } 24 | 25 | .hljs, 26 | .hljs-subst { 27 | color: #ddd; 28 | } 29 | 30 | .hljs-string, 31 | .hljs-title, 32 | .hljs-type, 33 | .ini .hljs-title, 34 | .hljs-tag .hljs-value, 35 | .css .hljs-rule .hljs-value, 36 | .hljs-preprocessor, 37 | .hljs-pragma, 38 | .ruby .hljs-symbol, 39 | .ruby .hljs-symbol .hljs-string, 40 | .ruby .hljs-class .hljs-parent, 41 | .hljs-built_in, 42 | .django .hljs-template_tag, 43 | .django .hljs-variable, 44 | .smalltalk .hljs-class, 45 | .ruby .hljs-string, 46 | .django .hljs-filter .hljs-argument, 47 | .smalltalk .hljs-localvars, 48 | .smalltalk .hljs-array, 49 | .hljs-attr_selector, 50 | .hljs-pseudo, 51 | .hljs-addition, 52 | .hljs-stream, 53 | .hljs-envvar, 54 | .apache .hljs-tag, 55 | .apache .hljs-cbracket, 56 | .tex .hljs-command, 57 | .hljs-prompt, 58 | .coffeescript .hljs-attribute, 59 | .hljs-name { 60 | color: #d88; 61 | } 62 | 63 | .hljs-comment, 64 | .hljs-annotation, 65 | .hljs-decorator, 66 | .hljs-pi, 67 | .hljs-doctype, 68 | .hljs-deletion, 69 | .hljs-shebang, 70 | .apache .hljs-sqbracket, 71 | .tex .hljs-formula { 72 | color: #777; 73 | } 74 | 75 | .hljs-keyword, 76 | .hljs-literal, 77 | .hljs-title, 78 | .css .hljs-id, 79 | .hljs-doctag, 80 | .hljs-type, 81 | .vbscript .hljs-built_in, 82 | .rsl .hljs-built_in, 83 | .smalltalk .hljs-class, 84 | .diff .hljs-header, 85 | .hljs-chunk, 86 | .hljs-winutils, 87 | .bash .hljs-variable, 88 | .apache .hljs-tag, 89 | .tex .hljs-special, 90 | .hljs-request, 91 | .hljs-status { 92 | font-weight: bold; 93 | } 94 | 95 | .coffeescript .javascript, 96 | .javascript .xml, 97 | .tex .hljs-formula, 98 | .xml .javascript, 99 | .xml .vbscript, 100 | .xml .css, 101 | .xml .hljs-cdata { 102 | opacity: 0.5; 103 | } 104 | -------------------------------------------------------------------------------- /themes/code/style/darkula/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/darkula.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/darkula/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Darkula color scheme from the JetBrains family of IDEs 4 | 5 | */ 6 | 7 | 8 | .hljs { 9 | display: block; 10 | overflow-x: auto; 11 | padding: 0.5em; 12 | background: #2b2b2b; 13 | -webkit-text-size-adjust: none; 14 | } 15 | 16 | .hljs, 17 | .hljs-tag, 18 | .hljs-title, 19 | .css .hljs-rule, 20 | .css .hljs-value, 21 | .aspectj .hljs-function, 22 | .css .hljs-function .hljs-preprocessor, 23 | .hljs-pragma { 24 | color: #bababa; 25 | } 26 | 27 | .hljs-strongemphasis, 28 | .hljs-strong, 29 | .hljs-emphasis { 30 | color: #a8a8a2; 31 | } 32 | 33 | .hljs-bullet, 34 | .hljs-blockquote, 35 | .hljs-horizontal_rule, 36 | .hljs-number, 37 | .hljs-regexp, 38 | .alias .hljs-keyword, 39 | .hljs-literal, 40 | .hljs-hexcolor { 41 | color: #6896ba; 42 | } 43 | 44 | .hljs-tag .hljs-value, 45 | .hljs-code, 46 | .css .hljs-class, 47 | .hljs-class .hljs-title:last-child { 48 | color: #a6e22e; 49 | } 50 | 51 | .hljs-link_url { 52 | font-size: 80%; 53 | } 54 | 55 | .hljs-emphasis, 56 | .hljs-strongemphasis, 57 | .hljs-class .hljs-title:last-child, 58 | .hljs-typename { 59 | font-style: italic; 60 | } 61 | 62 | .hljs-keyword, 63 | .ruby .hljs-class .hljs-keyword:first-child, 64 | .ruby .hljs-function .hljs-keyword, 65 | .hljs-function, 66 | .hljs-change, 67 | .hljs-winutils, 68 | .hljs-flow, 69 | .nginx .hljs-title, 70 | .tex .hljs-special, 71 | .hljs-header, 72 | .hljs-attribute, 73 | .hljs-symbol, 74 | .hljs-symbol .hljs-string, 75 | .hljs-tag .hljs-title, 76 | .hljs-value, 77 | .alias .hljs-keyword:first-child, 78 | .css .hljs-tag, 79 | .css .unit, 80 | .css .hljs-important { 81 | color: #cb7832; 82 | } 83 | 84 | .hljs-function .hljs-keyword, 85 | .hljs-class .hljs-keyword:first-child, 86 | .hljs-aspect .hljs-keyword:first-child, 87 | .hljs-constant, 88 | .hljs-typename, 89 | .css .hljs-attribute { 90 | color: #cb7832; 91 | } 92 | 93 | .hljs-variable, 94 | .hljs-params, 95 | .hljs-class .hljs-title, 96 | .hljs-aspect .hljs-title { 97 | color: #b9b9b9; 98 | } 99 | 100 | .hljs-string, 101 | .css .hljs-id, 102 | .hljs-subst, 103 | .hljs-type, 104 | .ruby .hljs-class .hljs-parent, 105 | .hljs-built_in, 106 | .django .hljs-template_tag, 107 | .django .hljs-variable, 108 | .smalltalk .hljs-class, 109 | .django .hljs-filter .hljs-argument, 110 | .smalltalk .hljs-localvars, 111 | .smalltalk .hljs-array, 112 | .hljs-attr_selector, 113 | .hljs-pseudo, 114 | .hljs-addition, 115 | .hljs-stream, 116 | .hljs-envvar, 117 | .apache .hljs-tag, 118 | .apache .hljs-cbracket, 119 | .tex .hljs-command, 120 | .hljs-prompt, 121 | .hljs-link_label, 122 | .hljs-link_url, 123 | .hljs-name { 124 | color: #e0c46c; 125 | } 126 | 127 | .hljs-comment, 128 | .hljs-annotation, 129 | .hljs-pi, 130 | .hljs-doctype, 131 | .hljs-deletion, 132 | .hljs-shebang, 133 | .apache .hljs-sqbracket, 134 | .tex .hljs-formula { 135 | color: #7f7f7f; 136 | } 137 | 138 | .hljs-decorator { 139 | color: #bab429; 140 | } 141 | 142 | .coffeescript .javascript, 143 | .javascript .xml, 144 | .tex .hljs-formula, 145 | .xml .javascript, 146 | .xml .vbscript, 147 | .xml .css, 148 | .xml .hljs-cdata, 149 | .xml .php, 150 | .php .xml { 151 | opacity: 0.5; 152 | } 153 | -------------------------------------------------------------------------------- /themes/code/style/default/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/default.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/default/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Original style from softwaremaniacs.org (c) Ivan Sagalaev 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #f0f0f0; 12 | -webkit-text-size-adjust: none; 13 | } 14 | 15 | .hljs, 16 | .hljs-subst, 17 | .hljs-tag .hljs-title, 18 | .nginx .hljs-title { 19 | color: black; 20 | } 21 | 22 | .hljs-string, 23 | .hljs-title, 24 | .hljs-constant, 25 | .hljs-parent, 26 | .hljs-tag .hljs-value, 27 | .hljs-rule .hljs-value, 28 | .hljs-preprocessor, 29 | .hljs-pragma, 30 | .hljs-name, 31 | .haml .hljs-symbol, 32 | .ruby .hljs-symbol, 33 | .ruby .hljs-symbol .hljs-string, 34 | .hljs-template_tag, 35 | .django .hljs-variable, 36 | .smalltalk .hljs-class, 37 | .hljs-addition, 38 | .hljs-flow, 39 | .hljs-stream, 40 | .bash .hljs-variable, 41 | .pf .hljs-variable, 42 | .apache .hljs-tag, 43 | .apache .hljs-cbracket, 44 | .tex .hljs-command, 45 | .tex .hljs-special, 46 | .erlang_repl .hljs-function_or_atom, 47 | .asciidoc .hljs-header, 48 | .markdown .hljs-header, 49 | .coffeescript .hljs-attribute, 50 | .tp .hljs-variable { 51 | color: #800; 52 | } 53 | 54 | .smartquote, 55 | .hljs-comment, 56 | .hljs-annotation, 57 | .diff .hljs-header, 58 | .hljs-chunk, 59 | .asciidoc .hljs-blockquote, 60 | .markdown .hljs-blockquote { 61 | color: #888; 62 | } 63 | 64 | .hljs-number, 65 | .hljs-date, 66 | .hljs-regexp, 67 | .hljs-literal, 68 | .hljs-hexcolor, 69 | .smalltalk .hljs-symbol, 70 | .smalltalk .hljs-char, 71 | .go .hljs-constant, 72 | .hljs-change, 73 | .lasso .hljs-variable, 74 | .makefile .hljs-variable, 75 | .asciidoc .hljs-bullet, 76 | .markdown .hljs-bullet, 77 | .asciidoc .hljs-link_url, 78 | .markdown .hljs-link_url { 79 | color: #080; 80 | } 81 | 82 | .hljs-label, 83 | .ruby .hljs-string, 84 | .hljs-decorator, 85 | .hljs-filter .hljs-argument, 86 | .hljs-localvars, 87 | .hljs-array, 88 | .hljs-attr_selector, 89 | .hljs-important, 90 | .hljs-pseudo, 91 | .hljs-pi, 92 | .haml .hljs-bullet, 93 | .hljs-doctype, 94 | .hljs-deletion, 95 | .hljs-envvar, 96 | .hljs-shebang, 97 | .apache .hljs-sqbracket, 98 | .nginx .hljs-built_in, 99 | .tex .hljs-formula, 100 | .erlang_repl .hljs-reserved, 101 | .hljs-prompt, 102 | .asciidoc .hljs-link_label, 103 | .markdown .hljs-link_label, 104 | .vhdl .hljs-attribute, 105 | .clojure .hljs-attribute, 106 | .asciidoc .hljs-attribute, 107 | .lasso .hljs-attribute, 108 | .coffeescript .hljs-property, 109 | .hljs-phony { 110 | color: #88f; 111 | } 112 | 113 | .hljs-keyword, 114 | .hljs-id, 115 | .hljs-title, 116 | .hljs-built_in, 117 | .css .hljs-tag, 118 | .hljs-doctag, 119 | .smalltalk .hljs-class, 120 | .hljs-winutils, 121 | .bash .hljs-variable, 122 | .pf .hljs-variable, 123 | .apache .hljs-tag, 124 | .hljs-type, 125 | .hljs-typename, 126 | .tex .hljs-command, 127 | .asciidoc .hljs-strong, 128 | .markdown .hljs-strong, 129 | .hljs-request, 130 | .hljs-status, 131 | .tp .hljs-data, 132 | .tp .hljs-io { 133 | font-weight: bold; 134 | } 135 | 136 | .asciidoc .hljs-emphasis, 137 | .markdown .hljs-emphasis, 138 | .tp .hljs-units { 139 | font-style: italic; 140 | } 141 | 142 | .nginx .hljs-built_in { 143 | font-weight: normal; 144 | } 145 | 146 | .coffeescript .javascript, 147 | .javascript .xml, 148 | .lasso .markup, 149 | .tex .hljs-formula, 150 | .xml .javascript, 151 | .xml .vbscript, 152 | .xml .css, 153 | .xml .hljs-cdata { 154 | opacity: 0.5; 155 | } 156 | -------------------------------------------------------------------------------- /themes/code/style/docco/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/docco.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/docco/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | Docco style used in http://jashkenas.github.com/docco/ converted by Simon Madine (@thingsinjars) 3 | */ 4 | 5 | .hljs { 6 | display: block; 7 | overflow-x: auto; 8 | padding: 0.5em; 9 | color: #000; 10 | background: #f8f8ff; 11 | -webkit-text-size-adjust: none; 12 | } 13 | 14 | .hljs-comment, 15 | .diff .hljs-header { 16 | color: #408080; 17 | font-style: italic; 18 | } 19 | 20 | .hljs-keyword, 21 | .assignment, 22 | .hljs-literal, 23 | .css .rule .hljs-keyword, 24 | .hljs-winutils, 25 | .javascript .hljs-title, 26 | .lisp .hljs-title, 27 | .hljs-subst { 28 | color: #954121; 29 | } 30 | 31 | .hljs-number, 32 | .hljs-hexcolor { 33 | color: #40a070; 34 | } 35 | 36 | .hljs-string, 37 | .hljs-tag .hljs-value, 38 | .hljs-doctag, 39 | .tex .hljs-formula, 40 | .hljs-name { 41 | color: #219161; 42 | } 43 | 44 | .hljs-title, 45 | .hljs-id { 46 | color: #19469d; 47 | } 48 | .hljs-params { 49 | color: #00f; 50 | } 51 | 52 | .javascript .hljs-title, 53 | .lisp .hljs-title, 54 | .hljs-subst { 55 | font-weight: normal; 56 | } 57 | 58 | .hljs-class .hljs-title, 59 | .haskell .hljs-label, 60 | .tex .hljs-command { 61 | color: #458; 62 | font-weight: bold; 63 | } 64 | 65 | .hljs-tag, 66 | .hljs-tag .hljs-title, 67 | .hljs-rule .hljs-property, 68 | .django .hljs-tag .hljs-keyword { 69 | color: #000080; 70 | font-weight: normal; 71 | } 72 | 73 | .hljs-attribute, 74 | .hljs-variable, 75 | .instancevar, 76 | .lisp .hljs-body { 77 | color: #008080; 78 | } 79 | 80 | .hljs-regexp { 81 | color: #b68; 82 | } 83 | 84 | .hljs-class { 85 | color: #458; 86 | font-weight: bold; 87 | } 88 | 89 | .hljs-symbol, 90 | .ruby .hljs-symbol .hljs-string, 91 | .ruby .hljs-symbol .hljs-keyword, 92 | .ruby .hljs-symbol .keymethods, 93 | .lisp .hljs-keyword, 94 | .tex .hljs-special, 95 | .input_number { 96 | color: #990073; 97 | } 98 | 99 | .builtin, 100 | .constructor, 101 | .hljs-built_in, 102 | .lisp .hljs-title { 103 | color: #0086b3; 104 | } 105 | 106 | .hljs-preprocessor, 107 | .hljs-pragma, 108 | .hljs-pi, 109 | .hljs-doctype, 110 | .hljs-shebang, 111 | .hljs-cdata { 112 | color: #999; 113 | font-weight: bold; 114 | } 115 | 116 | .hljs-deletion { 117 | background: #fdd; 118 | } 119 | 120 | .hljs-addition { 121 | background: #dfd; 122 | } 123 | 124 | .diff .hljs-change { 125 | background: #0086b3; 126 | } 127 | 128 | .hljs-chunk { 129 | color: #aaa; 130 | } 131 | 132 | .tex .hljs-formula { 133 | opacity: 0.5; 134 | } 135 | -------------------------------------------------------------------------------- /themes/code/style/far/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/far.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/far/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | FAR Style (c) MajestiC 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #000080; 12 | -webkit-text-size-adjust: none; 13 | } 14 | 15 | .hljs, 16 | .hljs-subst { 17 | color: #0ff; 18 | } 19 | 20 | .hljs-string, 21 | .ruby .hljs-string, 22 | .haskell .hljs-type, 23 | .hljs-tag .hljs-value, 24 | .hljs-rule .hljs-value, 25 | .hljs-rule .hljs-value .hljs-number, 26 | .hljs-preprocessor, 27 | .hljs-pragma, 28 | .ruby .hljs-symbol, 29 | .ruby .hljs-symbol .hljs-string, 30 | .hljs-built_in, 31 | .django .hljs-template_tag, 32 | .django .hljs-variable, 33 | .smalltalk .hljs-class, 34 | .hljs-addition, 35 | .apache .hljs-tag, 36 | .apache .hljs-cbracket, 37 | .tex .hljs-command, 38 | .coffeescript .hljs-attribute { 39 | color: #ff0; 40 | } 41 | 42 | .hljs-keyword, 43 | .css .hljs-id, 44 | .hljs-title, 45 | .hljs-type, 46 | .vbscript .hljs-built_in, 47 | .rsl .hljs-built_in, 48 | .smalltalk .hljs-class, 49 | .xml .hljs-tag .hljs-title, 50 | .hljs-winutils, 51 | .hljs-flow, 52 | .hljs-change, 53 | .hljs-envvar, 54 | .bash .hljs-variable, 55 | .tex .hljs-special, 56 | .hljs-name { 57 | color: #fff; 58 | } 59 | 60 | .hljs-comment, 61 | .hljs-doctag, 62 | .hljs-annotation, 63 | .hljs-deletion, 64 | .apache .hljs-sqbracket, 65 | .tex .hljs-formula { 66 | color: #888; 67 | } 68 | 69 | .hljs-number, 70 | .hljs-date, 71 | .hljs-regexp, 72 | .hljs-literal, 73 | .smalltalk .hljs-symbol, 74 | .smalltalk .hljs-char, 75 | .clojure .hljs-attribute { 76 | color: #0f0; 77 | } 78 | 79 | .hljs-decorator, 80 | .django .hljs-filter .hljs-argument, 81 | .smalltalk .hljs-localvars, 82 | .smalltalk .hljs-array, 83 | .hljs-attr_selector, 84 | .hljs-pseudo, 85 | .xml .hljs-pi, 86 | .diff .hljs-header, 87 | .hljs-chunk, 88 | .hljs-shebang, 89 | .nginx .hljs-built_in, 90 | .hljs-prompt { 91 | color: #008080; 92 | } 93 | 94 | .hljs-keyword, 95 | .css .hljs-id, 96 | .hljs-title, 97 | .hljs-type, 98 | .vbscript .hljs-built_in, 99 | .rsl .hljs-built_in, 100 | .smalltalk .hljs-class, 101 | .hljs-winutils, 102 | .hljs-flow, 103 | .apache .hljs-tag, 104 | .nginx .hljs-built_in, 105 | .tex .hljs-command, 106 | .tex .hljs-special, 107 | .hljs-request, 108 | .hljs-status { 109 | font-weight: bold; 110 | } 111 | -------------------------------------------------------------------------------- /themes/code/style/foundation/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/foundation.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/foundation/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | Description: Foundation 4 docs style for highlight.js 3 | Author: Dan Allen 4 | Website: http://foundation.zurb.com/docs/ 5 | Version: 1.0 6 | Date: 2013-04-02 7 | */ 8 | 9 | .hljs { 10 | display: block; 11 | overflow-x: auto; 12 | padding: 0.5em; 13 | background: #eee; 14 | -webkit-text-size-adjust: none; 15 | } 16 | 17 | .hljs-header, 18 | .hljs-decorator, 19 | .hljs-annotation { 20 | color: #000077; 21 | } 22 | 23 | .hljs-horizontal_rule, 24 | .hljs-link_url, 25 | .hljs-emphasis, 26 | .hljs-attribute { 27 | color: #070; 28 | } 29 | 30 | .hljs-emphasis { 31 | font-style: italic; 32 | } 33 | 34 | .hljs-link_label, 35 | .hljs-strong, 36 | .hljs-value, 37 | .hljs-string, 38 | .scss .hljs-value .hljs-string { 39 | color: #d14; 40 | } 41 | 42 | .hljs-strong { 43 | font-weight: bold; 44 | } 45 | 46 | .hljs-blockquote, 47 | .hljs-comment { 48 | color: #998; 49 | font-style: italic; 50 | } 51 | 52 | .asciidoc .hljs-title, 53 | .hljs-function .hljs-title { 54 | color: #900; 55 | } 56 | 57 | .hljs-class { 58 | color: #458; 59 | } 60 | 61 | .hljs-id, 62 | .hljs-pseudo, 63 | .hljs-constant, 64 | .hljs-hexcolor { 65 | color: teal; 66 | } 67 | 68 | .hljs-variable { 69 | color: #336699; 70 | } 71 | 72 | .hljs-bullet { 73 | color: #997700; 74 | } 75 | 76 | .hljs-pi, 77 | .hljs-doctype { 78 | color: #3344bb; 79 | } 80 | 81 | .hljs-code, 82 | .hljs-number { 83 | color: #099; 84 | } 85 | 86 | .hljs-important { 87 | color: #f00; 88 | } 89 | 90 | .smartquote, 91 | .hljs-label { 92 | color: #970; 93 | } 94 | 95 | .hljs-preprocessor, 96 | .hljs-pragma { 97 | color: #579; 98 | } 99 | 100 | .hljs-reserved, 101 | .hljs-keyword, 102 | .scss .hljs-value { 103 | color: #000; 104 | } 105 | 106 | .hljs-regexp { 107 | background-color: #fff0ff; 108 | color: #880088; 109 | } 110 | 111 | .hljs-symbol { 112 | color: #990073; 113 | } 114 | 115 | .hljs-symbol .hljs-string { 116 | color: #a60; 117 | } 118 | 119 | .hljs-tag { 120 | color: #007700; 121 | } 122 | 123 | .hljs-at_rule, 124 | .hljs-at_rule .hljs-keyword { 125 | color: #088; 126 | } 127 | 128 | .hljs-at_rule .hljs-preprocessor { 129 | color: #808; 130 | } 131 | 132 | .scss .hljs-tag, 133 | .scss .hljs-attribute { 134 | color: #339; 135 | } 136 | -------------------------------------------------------------------------------- /themes/code/style/github-gist/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/github-gist.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/github/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/github.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/github/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | github.com style (c) Vasily Polovnyov 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | color: #333; 12 | background: #f8f8f8; 13 | -webkit-text-size-adjust: none; 14 | } 15 | 16 | .hljs-comment, 17 | .diff .hljs-header { 18 | color: #998; 19 | font-style: italic; 20 | } 21 | 22 | .hljs-keyword, 23 | .css .rule .hljs-keyword, 24 | .hljs-winutils, 25 | .nginx .hljs-title, 26 | .hljs-subst, 27 | .hljs-request, 28 | .hljs-status { 29 | color: #333; 30 | font-weight: bold; 31 | } 32 | 33 | .hljs-number, 34 | .hljs-hexcolor, 35 | .ruby .hljs-constant { 36 | color: #008080; 37 | } 38 | 39 | .hljs-string, 40 | .hljs-tag .hljs-value, 41 | .hljs-doctag, 42 | .tex .hljs-formula { 43 | color: #d14; 44 | } 45 | 46 | .hljs-title, 47 | .hljs-id, 48 | .scss .hljs-preprocessor { 49 | color: #900; 50 | font-weight: bold; 51 | } 52 | 53 | .hljs-list .hljs-keyword, 54 | .hljs-subst { 55 | font-weight: normal; 56 | } 57 | 58 | .hljs-class .hljs-title, 59 | .hljs-type, 60 | .vhdl .hljs-literal, 61 | .tex .hljs-command { 62 | color: #458; 63 | font-weight: bold; 64 | } 65 | 66 | .hljs-tag, 67 | .hljs-tag .hljs-title, 68 | .hljs-rule .hljs-property, 69 | .django .hljs-tag .hljs-keyword { 70 | color: #000080; 71 | font-weight: normal; 72 | } 73 | 74 | .hljs-attribute, 75 | .hljs-variable, 76 | .lisp .hljs-body, 77 | .hljs-name { 78 | color: #008080; 79 | } 80 | 81 | .hljs-regexp { 82 | color: #009926; 83 | } 84 | 85 | .hljs-symbol, 86 | .ruby .hljs-symbol .hljs-string, 87 | .lisp .hljs-keyword, 88 | .clojure .hljs-keyword, 89 | .scheme .hljs-keyword, 90 | .tex .hljs-special, 91 | .hljs-prompt { 92 | color: #990073; 93 | } 94 | 95 | .hljs-built_in { 96 | color: #0086b3; 97 | } 98 | 99 | .hljs-preprocessor, 100 | .hljs-pragma, 101 | .hljs-pi, 102 | .hljs-doctype, 103 | .hljs-shebang, 104 | .hljs-cdata { 105 | color: #999; 106 | font-weight: bold; 107 | } 108 | 109 | .hljs-deletion { 110 | background: #fdd; 111 | } 112 | 113 | .hljs-addition { 114 | background: #dfd; 115 | } 116 | 117 | .diff .hljs-change { 118 | background: #0086b3; 119 | } 120 | 121 | .hljs-chunk { 122 | color: #aaa; 123 | } 124 | -------------------------------------------------------------------------------- /themes/code/style/googlecode/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/googlecode.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/googlecode/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Google Code style (c) Aahan Krish 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: white; 12 | color: black; 13 | -webkit-text-size-adjust: none; 14 | } 15 | 16 | .hljs-comment { 17 | color: #800; 18 | } 19 | 20 | .hljs-keyword, 21 | .method, 22 | .hljs-list .hljs-keyword, 23 | .nginx .hljs-title, 24 | .hljs-tag .hljs-title, 25 | .setting .hljs-value, 26 | .hljs-winutils, 27 | .tex .hljs-command, 28 | .http .hljs-title, 29 | .hljs-request, 30 | .hljs-status { 31 | color: #008; 32 | } 33 | 34 | .hljs-envvar, 35 | .tex .hljs-special { 36 | color: #660; 37 | } 38 | 39 | .hljs-string, 40 | .hljs-tag .hljs-value, 41 | .hljs-cdata, 42 | .hljs-filter .hljs-argument, 43 | .hljs-attr_selector, 44 | .apache .hljs-cbracket, 45 | .hljs-date, 46 | .hljs-regexp, 47 | .coffeescript .hljs-attribute { 48 | color: #080; 49 | } 50 | 51 | .hljs-sub .hljs-identifier, 52 | .hljs-pi, 53 | .hljs-tag, 54 | .hljs-tag .hljs-keyword, 55 | .hljs-decorator, 56 | .ini .hljs-title, 57 | .hljs-shebang, 58 | .hljs-prompt, 59 | .hljs-hexcolor, 60 | .hljs-rule .hljs-value, 61 | .hljs-literal, 62 | .hljs-symbol, 63 | .ruby .hljs-symbol .hljs-string, 64 | .hljs-number, 65 | .css .hljs-function, 66 | .clojure .hljs-attribute { 67 | color: #066; 68 | } 69 | 70 | .hljs-class .hljs-title, 71 | .smalltalk .hljs-class, 72 | .hljs-doctag, 73 | .hljs-type, 74 | .hljs-typename, 75 | .hljs-tag .hljs-attribute, 76 | .hljs-doctype, 77 | .hljs-class .hljs-id, 78 | .hljs-built_in, 79 | .setting, 80 | .hljs-params, 81 | .hljs-variable, 82 | .hljs-name { 83 | color: #606; 84 | } 85 | 86 | .css .hljs-tag, 87 | .hljs-rule .hljs-property, 88 | .hljs-pseudo, 89 | .hljs-subst { 90 | color: #000; 91 | } 92 | 93 | .css .hljs-class, 94 | .css .hljs-id { 95 | color: #9b703f; 96 | } 97 | 98 | .hljs-value .hljs-important { 99 | color: #ff7700; 100 | font-weight: bold; 101 | } 102 | 103 | .hljs-rule .hljs-keyword { 104 | color: #c5af75; 105 | } 106 | 107 | .hljs-annotation, 108 | .apache .hljs-sqbracket, 109 | .nginx .hljs-built_in { 110 | color: #9b859d; 111 | } 112 | 113 | .hljs-preprocessor, 114 | .hljs-preprocessor *, 115 | .hljs-pragma { 116 | color: #444; 117 | } 118 | 119 | .tex .hljs-formula { 120 | background-color: #eee; 121 | font-style: italic; 122 | } 123 | 124 | .diff .hljs-header, 125 | .hljs-chunk { 126 | color: #808080; 127 | font-weight: bold; 128 | } 129 | 130 | .diff .hljs-change { 131 | background-color: #bccff9; 132 | } 133 | 134 | .hljs-addition { 135 | background-color: #baeeba; 136 | } 137 | 138 | .hljs-deletion { 139 | background-color: #ffc8bd; 140 | } 141 | 142 | .hljs-comment .hljs-doctag { 143 | font-weight: bold; 144 | } 145 | -------------------------------------------------------------------------------- /themes/code/style/grayscale/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/grayscale.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/grayscale/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | grayscale style (c) MY Sun 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | color: #333; 12 | background: #fff; 13 | -webkit-text-size-adjust: none; 14 | } 15 | 16 | .hljs-comment, 17 | .diff .hljs-header { 18 | color: #777; 19 | font-style: italic; 20 | } 21 | 22 | .hljs-keyword, 23 | .css .rule .hljs-keyword, 24 | .hljs-winutils, 25 | .nginx .hljs-title, 26 | .hljs-subst, 27 | .hljs-request, 28 | .hljs-status { 29 | color: #333; 30 | font-weight: bold; 31 | } 32 | 33 | .hljs-number, 34 | .hljs-hexcolor, 35 | .ruby .hljs-constant { 36 | color: #777; 37 | } 38 | 39 | .hljs-string, 40 | .hljs-tag .hljs-value, 41 | .hljs-doctag, 42 | .tex .hljs-formula { 43 | color: #333; 44 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAJ0lEQVQIW2O8e/fufwYGBgZBQUEQxcCIIfDu3Tuwivfv30NUoAsAALHpFMMLqZlPAAAAAElFTkSuQmCC) repeat; 45 | } 46 | 47 | .hljs-title, 48 | .hljs-id, 49 | .scss .hljs-preprocessor { 50 | color: #000; 51 | font-weight: bold; 52 | } 53 | 54 | .hljs-list .hljs-keyword, 55 | .hljs-subst { 56 | font-weight: normal; 57 | } 58 | 59 | .hljs-class .hljs-title, 60 | .hljs-type, 61 | .vhdl .hljs-literal, 62 | .tex .hljs-command { 63 | color: #333; 64 | font-weight: bold; 65 | } 66 | 67 | .hljs-tag, 68 | .hljs-tag .hljs-title, 69 | .hljs-rule .hljs-property, 70 | .django .hljs-tag .hljs-keyword { 71 | color: #333; 72 | } 73 | 74 | .hljs-attribute, 75 | .hljs-variable, 76 | .lisp .hljs-body, 77 | .hljs-name { 78 | color: #000; 79 | } 80 | 81 | .hljs-regexp { 82 | color: #333; 83 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAICAYAAADA+m62AAAAPUlEQVQYV2NkQAN37979r6yszIgujiIAU4RNMVwhuiQ6H6wQl3XI4oy4FMHcCJPHcDS6J2A2EqUQpJhohQDexSef15DBCwAAAABJRU5ErkJggg==) repeat; 84 | } 85 | 86 | .hljs-symbol, 87 | .ruby .hljs-symbol .hljs-string, 88 | .lisp .hljs-keyword, 89 | .clojure .hljs-keyword, 90 | .scheme .hljs-keyword, 91 | .tex .hljs-special, 92 | .hljs-prompt { 93 | color: #000; 94 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAKElEQVQIW2NkQAO7d+/+z4gsBhJwdXVlhAvCBECKwIIwAbhKZBUwBQA6hBpm5efZsgAAAABJRU5ErkJggg==) repeat; 95 | } 96 | 97 | .hljs-built_in { 98 | color: #000; 99 | text-decoration: underline; 100 | } 101 | 102 | .hljs-preprocessor, 103 | .hljs-pragma, 104 | .hljs-pi, 105 | .hljs-doctype, 106 | .hljs-shebang, 107 | .hljs-cdata { 108 | color: #999; 109 | font-weight: bold; 110 | } 111 | 112 | .hljs-deletion { 113 | color: #fff; 114 | background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAADCAYAAABS3WWCAAAAE0lEQVQIW2MMDQ39zzhz5kwIAQAyxweWgUHd1AAAAABJRU5ErkJggg==) repeat; 115 | } 116 | 117 | .hljs-addition { 118 | color: #000; 119 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAALUlEQVQYV2N89+7dfwYk8P79ewZBQUFkIQZGOiu6e/cuiptQHAPl0NtNxAQBAM97Oejj3Dg7AAAAAElFTkSuQmCC) repeat; 120 | } 121 | 122 | .diff .hljs-change { 123 | background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKLW/AAAAHUlEQVQIW2NkgILdu3f/ZwSxQQxXV1dGRhgDJAgAzGcLNGkoJrsAAAAASUVORK5CYII=) repeat; 124 | } 125 | 126 | .hljs-chunk { 127 | color: #aaa; 128 | } -------------------------------------------------------------------------------- /themes/code/style/hopscotch/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/hopscotch.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/hopscotch/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Hopscotch 3 | * by Jan T. Sott 4 | * https://github.com/idleberg/Hopscotch 5 | * 6 | * This work is licensed under the Creative Commons CC0 1.0 Universal License 7 | */ 8 | 9 | /* Comment */ 10 | .hljs-comment, 11 | .hljs-title { 12 | color: #989498; 13 | } 14 | 15 | /* Red */ 16 | .hljs-variable, 17 | .hljs-attribute, 18 | .hljs-tag, 19 | .hljs-regexp, 20 | .ruby .hljs-constant, 21 | .xml .hljs-tag .hljs-title, 22 | .xml .hljs-pi, 23 | .xml .hljs-doctype, 24 | .html .hljs-doctype, 25 | .css .hljs-id, 26 | .css .hljs-class, 27 | .css .hljs-pseudo { 28 | color: #dd464c; 29 | } 30 | 31 | /* Orange */ 32 | .hljs-number, 33 | .hljs-preprocessor, 34 | .hljs-built_in, 35 | .hljs-literal, 36 | .hljs-params, 37 | .hljs-constant { 38 | color: #fd8b19; 39 | } 40 | 41 | /* Yellow */ 42 | .ruby .hljs-class .hljs-title, 43 | .css .hljs-rules .hljs-attribute { 44 | color: #fdcc59; 45 | } 46 | 47 | /* Green */ 48 | .hljs-string, 49 | .hljs-value, 50 | .hljs-inheritance, 51 | .hljs-header, 52 | .ruby .hljs-symbol, 53 | .xml .hljs-cdata { 54 | color: #8fc13e; 55 | } 56 | 57 | /* Aqua */ 58 | .css .hljs-hexcolor { 59 | color: #149b93; 60 | } 61 | 62 | /* Blue */ 63 | .hljs-function, 64 | .python .hljs-decorator, 65 | .python .hljs-title, 66 | .ruby .hljs-function .hljs-title, 67 | .ruby .hljs-title .hljs-keyword, 68 | .perl .hljs-sub, 69 | .javascript .hljs-title, 70 | .coffeescript .hljs-title { 71 | color: #1290bf; 72 | } 73 | 74 | /* Purple */ 75 | .hljs-keyword, 76 | .javascript .hljs-function { 77 | color: #c85e7c; 78 | } 79 | 80 | .hljs { 81 | display: block; 82 | background: #322931; 83 | color: #b9b5b8; 84 | padding: 0.5em; 85 | } 86 | 87 | .coffeescript .javascript, 88 | .javascript .xml, 89 | .tex .hljs-formula, 90 | .xml .javascript, 91 | .xml .vbscript, 92 | .xml .css, 93 | .xml .hljs-cdata { 94 | opacity: 0.5; 95 | } 96 | -------------------------------------------------------------------------------- /themes/code/style/hybrid/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/hybrid.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/idea/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/idea.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/idea/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Intellij Idea-like styling (c) Vasily Polovnyov 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | color: #000; 12 | background: #fff; 13 | -webkit-text-size-adjust: none; 14 | } 15 | 16 | .hljs-subst, 17 | .hljs-title, 18 | .json .hljs-value { 19 | font-weight: normal; 20 | color: #000; 21 | } 22 | 23 | .hljs-comment, 24 | .diff .hljs-header { 25 | color: #808080; 26 | font-style: italic; 27 | } 28 | 29 | .hljs-annotation, 30 | .hljs-decorator, 31 | .hljs-preprocessor, 32 | .hljs-pragma, 33 | .hljs-doctype, 34 | .hljs-pi, 35 | .hljs-chunk, 36 | .hljs-shebang, 37 | .apache .hljs-cbracket, 38 | .hljs-prompt, 39 | .http .hljs-title { 40 | color: #808000; 41 | } 42 | 43 | .hljs-tag, 44 | .hljs-pi { 45 | background: #efefef; 46 | } 47 | 48 | .hljs-tag .hljs-title, 49 | .hljs-id, 50 | .hljs-attr_selector, 51 | .hljs-pseudo, 52 | .hljs-literal, 53 | .hljs-keyword, 54 | .hljs-hexcolor, 55 | .css .hljs-function, 56 | .ini .hljs-title, 57 | .css .hljs-class, 58 | .hljs-list .hljs-keyword, 59 | .nginx .hljs-title, 60 | .tex .hljs-command, 61 | .hljs-request, 62 | .hljs-status { 63 | font-weight: bold; 64 | color: #000080; 65 | } 66 | 67 | .hljs-attribute, 68 | .hljs-rule .hljs-keyword, 69 | .hljs-number, 70 | .hljs-date, 71 | .hljs-regexp, 72 | .tex .hljs-special { 73 | font-weight: bold; 74 | color: #0000ff; 75 | } 76 | 77 | .hljs-number, 78 | .hljs-regexp { 79 | font-weight: normal; 80 | } 81 | 82 | .hljs-string, 83 | .hljs-value, 84 | .hljs-filter .hljs-argument, 85 | .css .hljs-function .hljs-params, 86 | .apache .hljs-tag { 87 | color: #008000; 88 | font-weight: bold; 89 | } 90 | 91 | .hljs-symbol, 92 | .ruby .hljs-symbol .hljs-string, 93 | .hljs-char, 94 | .tex .hljs-formula { 95 | color: #000; 96 | background: #d0eded; 97 | font-style: italic; 98 | } 99 | 100 | .hljs-doctag { 101 | text-decoration: underline; 102 | } 103 | 104 | .hljs-variable, 105 | .hljs-envvar, 106 | .apache .hljs-sqbracket, 107 | .nginx .hljs-built_in, 108 | .hljs-name { 109 | color: #660e7a; 110 | } 111 | 112 | .hljs-addition { 113 | background: #baeeba; 114 | } 115 | 116 | .hljs-deletion { 117 | background: #ffc8bd; 118 | } 119 | 120 | .diff .hljs-change { 121 | background: #bccff9; 122 | } 123 | -------------------------------------------------------------------------------- /themes/code/style/ir_black/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/ir_black.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/ir_black/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | IR_Black style (c) Vasily Mikhailitchenko 3 | */ 4 | 5 | .hljs { 6 | display: block; 7 | overflow-x: auto; 8 | padding: 0.5em; 9 | background: #000; 10 | color: #f8f8f8; 11 | -webkit-text-size-adjust: none; 12 | } 13 | 14 | .hljs-shebang, 15 | .hljs-comment { 16 | color: #7c7c7c; 17 | } 18 | 19 | .hljs-keyword, 20 | .hljs-tag, 21 | .tex .hljs-command, 22 | .hljs-request, 23 | .hljs-status, 24 | .clojure .hljs-attribute { 25 | color: #96cbfe; 26 | } 27 | 28 | .hljs-sub .hljs-keyword, 29 | .method, 30 | .hljs-list .hljs-title, 31 | .nginx .hljs-title { 32 | color: #ffffb6; 33 | } 34 | 35 | .hljs-string, 36 | .hljs-tag .hljs-value, 37 | .hljs-cdata, 38 | .hljs-filter .hljs-argument, 39 | .hljs-attr_selector, 40 | .apache .hljs-cbracket, 41 | .hljs-date, 42 | .coffeescript .hljs-attribute { 43 | color: #a8ff60; 44 | } 45 | 46 | .hljs-subst { 47 | color: #daefa3; 48 | } 49 | 50 | .hljs-regexp { 51 | color: #e9c062; 52 | } 53 | 54 | .hljs-title, 55 | .hljs-sub .hljs-identifier, 56 | .hljs-pi, 57 | .hljs-decorator, 58 | .tex .hljs-special, 59 | .hljs-type, 60 | .hljs-constant, 61 | .smalltalk .hljs-class, 62 | .hljs-doctag, 63 | .nginx .hljs-built_in { 64 | color: #ffffb6; 65 | } 66 | 67 | .hljs-symbol, 68 | .ruby .hljs-symbol .hljs-string, 69 | .hljs-number, 70 | .hljs-variable, 71 | .vbscript, 72 | .hljs-literal, 73 | .hljs-name { 74 | color: #c6c5fe; 75 | } 76 | 77 | .css .hljs-tag { 78 | color: #96cbfe; 79 | } 80 | 81 | .css .hljs-rule .hljs-property, 82 | .css .hljs-id { 83 | color: #ffffb6; 84 | } 85 | 86 | .css .hljs-class { 87 | color: #fff; 88 | } 89 | 90 | .hljs-hexcolor { 91 | color: #c6c5fe; 92 | } 93 | 94 | .hljs-number { 95 | color:#ff73fd; 96 | } 97 | 98 | .coffeescript .javascript, 99 | .javascript .xml, 100 | .tex .hljs-formula, 101 | .xml .javascript, 102 | .xml .vbscript, 103 | .xml .css, 104 | .xml .hljs-cdata { 105 | opacity: 0.7; 106 | } 107 | -------------------------------------------------------------------------------- /themes/code/style/kimbie/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/kimbie.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/kimbie/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | Name: Kimbie (light) 3 | Author: Jan T. Sott 4 | License: Creative Commons Attribution-ShareAlike 4.0 Unported License 5 | URL: https://github.com/idleberg/Kimbie-highlight.js 6 | */ 7 | 8 | /* Kimbie Comment */ 9 | .hljs-comment, 10 | .hljs-title { 11 | color: #a57a4c; 12 | } 13 | 14 | /* Kimbie Red */ 15 | .hljs-variable, 16 | .hljs-attribute, 17 | .hljs-tag, 18 | .hljs-regexp, 19 | .hljs-name, 20 | .ruby .hljs-constant, 21 | .xml .hljs-tag .hljs-title, 22 | .xml .hljs-pi, 23 | .xml .hljs-doctype, 24 | .html .hljs-doctype, 25 | .css .hljs-id, 26 | .css .hljs-class, 27 | .css .hljs-pseudo { 28 | color: #dc3958; 29 | } 30 | 31 | /* Kimbie Orange */ 32 | .hljs-number, 33 | .hljs-preprocessor, 34 | .hljs-built_in, 35 | .hljs-literal, 36 | .hljs-params, 37 | .hljs-constant { 38 | color: #f79a32; 39 | } 40 | 41 | /* Kimbie Yellow */ 42 | .ruby .hljs-class .hljs-title, 43 | .css .hljs-rule .hljs-attribute { 44 | color: #f06431; 45 | } 46 | 47 | /* Kimbie Green */ 48 | .hljs-string, 49 | .hljs-value, 50 | .hljs-inheritance, 51 | .hljs-header, 52 | .ruby .hljs-symbol, 53 | .xml .hljs-cdata { 54 | color: #889b4a; 55 | } 56 | 57 | /* Kimbie Aqua */ 58 | .css .hljs-hexcolor { 59 | color: #088649; 60 | } 61 | 62 | /* Kimbie Blue */ 63 | .hljs-function, 64 | .python .hljs-decorator, 65 | .python .hljs-title, 66 | .ruby .hljs-function .hljs-title, 67 | .ruby .hljs-title .hljs-keyword, 68 | .perl .hljs-sub, 69 | .javascript .hljs-title, 70 | .coffeescript .hljs-title { 71 | color: #8ab1b0; 72 | } 73 | 74 | /* Kimbie Purple */ 75 | .hljs-keyword, 76 | .javascript .hljs-function { 77 | color: #98676a; 78 | } 79 | 80 | .hljs { 81 | display: block; 82 | overflow-x: auto; 83 | background: #fbebd4; 84 | color: #84613d; 85 | padding: 0.5em; 86 | -webkit-text-size-adjust: none; 87 | } 88 | 89 | .coffeescript .javascript, 90 | .javascript .xml, 91 | .tex .hljs-formula, 92 | .xml .javascript, 93 | .xml .vbscript, 94 | .xml .css, 95 | .xml .hljs-cdata { 96 | opacity: 0.5; 97 | } 98 | -------------------------------------------------------------------------------- /themes/code/style/magula/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/magula.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/magula/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | Description: Magula style for highligh.js 3 | Author: Ruslan Keba 4 | Website: http://rukeba.com/ 5 | Version: 1.0 6 | Date: 2009-01-03 7 | Music: Aphex Twin / Xtal 8 | */ 9 | 10 | .hljs { 11 | display: block; 12 | overflow-x: auto; 13 | padding: 0.5em; 14 | background-color: #f4f4f4; 15 | -webkit-text-size-adjust: none; 16 | } 17 | 18 | .hljs, 19 | .hljs-subst { 20 | color: black; 21 | } 22 | 23 | .hljs-string, 24 | .hljs-title, 25 | .hljs-parent, 26 | .hljs-tag .hljs-value, 27 | .hljs-rule .hljs-value, 28 | .hljs-preprocessor, 29 | .hljs-pragma, 30 | .ruby .hljs-symbol, 31 | .ruby .hljs-symbol .hljs-string, 32 | .hljs-template_tag, 33 | .django .hljs-variable, 34 | .smalltalk .hljs-class, 35 | .hljs-addition, 36 | .hljs-flow, 37 | .hljs-stream, 38 | .bash .hljs-variable, 39 | .apache .hljs-cbracket, 40 | .coffeescript .hljs-attribute { 41 | color: #050; 42 | } 43 | 44 | .hljs-comment, 45 | .hljs-annotation, 46 | .diff .hljs-header, 47 | .hljs-chunk { 48 | color: #777; 49 | } 50 | 51 | .hljs-number, 52 | .hljs-date, 53 | .hljs-regexp, 54 | .hljs-literal, 55 | .hljs-name, 56 | .smalltalk .hljs-symbol, 57 | .smalltalk .hljs-char, 58 | .hljs-change, 59 | .tex .hljs-special { 60 | color: #800; 61 | } 62 | 63 | .hljs-label, 64 | .ruby .hljs-string, 65 | .hljs-decorator, 66 | .hljs-filter .hljs-argument, 67 | .hljs-localvars, 68 | .hljs-array, 69 | .hljs-attr_selector, 70 | .hljs-pseudo, 71 | .hljs-pi, 72 | .hljs-doctype, 73 | .hljs-deletion, 74 | .hljs-envvar, 75 | .hljs-shebang, 76 | .apache .hljs-sqbracket, 77 | .nginx .hljs-built_in, 78 | .tex .hljs-formula, 79 | .hljs-prompt, 80 | .clojure .hljs-attribute { 81 | color: #00e; 82 | } 83 | 84 | .hljs-keyword, 85 | .hljs-id, 86 | .hljs-doctag, 87 | .hljs-title, 88 | .hljs-built_in, 89 | .smalltalk .hljs-class, 90 | .hljs-winutils, 91 | .bash .hljs-variable, 92 | .apache .hljs-tag, 93 | .xml .hljs-tag, 94 | .tex .hljs-command, 95 | .hljs-request, 96 | .hljs-status { 97 | font-weight: bold; 98 | color: navy; 99 | } 100 | 101 | .nginx .hljs-built_in { 102 | font-weight: normal; 103 | } 104 | 105 | .coffeescript .javascript, 106 | .javascript .xml, 107 | .tex .hljs-formula, 108 | .xml .javascript, 109 | .xml .vbscript, 110 | .xml .css, 111 | .xml .hljs-cdata { 112 | opacity: 0.5; 113 | } 114 | 115 | /* --- */ 116 | .apache .hljs-tag { 117 | font-weight: bold; 118 | color: blue; 119 | } 120 | 121 | -------------------------------------------------------------------------------- /themes/code/style/mono-blue/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/mono-blue.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/mono-blue/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | Five-color theme from a single blue hue. 3 | */ 4 | .hljs { 5 | display: block; 6 | overflow-x: auto; 7 | padding: 0.5em; 8 | background: #eaeef3; 9 | -webkit-text-size-adjust: none; 10 | } 11 | 12 | .hljs, 13 | .hljs-list .hljs-built_in { 14 | color: #00193a; 15 | } 16 | 17 | .hljs-keyword, 18 | .hljs-title, 19 | .hljs-important, 20 | .hljs-request, 21 | .hljs-header, 22 | .hljs-doctag { 23 | font-weight: bold; 24 | } 25 | 26 | .hljs-comment, 27 | .hljs-chunk { 28 | color: #738191; 29 | } 30 | 31 | .hljs-string, 32 | .hljs-title, 33 | .hljs-parent, 34 | .hljs-built_in, 35 | .hljs-literal, 36 | .hljs-filename, 37 | .hljs-value, 38 | .hljs-addition, 39 | .hljs-tag, 40 | .hljs-argument, 41 | .hljs-link_label, 42 | .hljs-blockquote, 43 | .hljs-header, 44 | .hljs-name { 45 | color: #0048ab; 46 | } 47 | 48 | .hljs-decorator, 49 | .hljs-prompt, 50 | .hljs-subst, 51 | .hljs-symbol, 52 | .hljs-doctype, 53 | .hljs-regexp, 54 | .hljs-preprocessor, 55 | .hljs-pragma, 56 | .hljs-pi, 57 | .hljs-attribute, 58 | .hljs-attr_selector, 59 | .hljs-xmlDocTag, 60 | .hljs-deletion, 61 | .hljs-shebang, 62 | .hljs-string .hljs-variable, 63 | .hljs-link_url, 64 | .hljs-bullet, 65 | .hljs-sqbracket, 66 | .hljs-phony { 67 | color: #4c81c9; 68 | } 69 | -------------------------------------------------------------------------------- /themes/code/style/monokai/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/monokai.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/monokai/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | Monokai style - ported by Luigi Maselli - http://grigio.org 3 | */ 4 | 5 | .hljs { 6 | display: block; 7 | overflow-x: auto; 8 | padding: 0.5em; 9 | background: #272822; 10 | -webkit-text-size-adjust: none; 11 | } 12 | 13 | .hljs-tag, 14 | .hljs-tag .hljs-title, 15 | .hljs-keyword, 16 | .hljs-literal, 17 | .hljs-strong, 18 | .hljs-change, 19 | .hljs-winutils, 20 | .hljs-flow, 21 | .nginx .hljs-title, 22 | .tex .hljs-special { 23 | color: #f92672; 24 | } 25 | 26 | .hljs { 27 | color: #ddd; 28 | } 29 | 30 | .hljs .hljs-constant, 31 | .asciidoc .hljs-code, 32 | .markdown .hljs-code { 33 | color: #66d9ef; 34 | } 35 | 36 | .hljs-code, 37 | .hljs-class .hljs-title, 38 | .hljs-header { 39 | color: white; 40 | } 41 | 42 | .hljs-link_label, 43 | .hljs-attribute, 44 | .hljs-symbol, 45 | .hljs-symbol .hljs-string, 46 | .hljs-value, 47 | .hljs-regexp { 48 | color: #bf79db; 49 | } 50 | 51 | .hljs-link_url, 52 | .hljs-tag .hljs-value, 53 | .hljs-string, 54 | .hljs-bullet, 55 | .hljs-subst, 56 | .hljs-title, 57 | .hljs-emphasis, 58 | .hljs-type, 59 | .hljs-preprocessor, 60 | .hljs-pragma, 61 | .ruby .hljs-class .hljs-parent, 62 | .hljs-built_in, 63 | .django .hljs-template_tag, 64 | .django .hljs-variable, 65 | .smalltalk .hljs-class, 66 | .django .hljs-filter .hljs-argument, 67 | .smalltalk .hljs-localvars, 68 | .smalltalk .hljs-array, 69 | .hljs-attr_selector, 70 | .hljs-pseudo, 71 | .hljs-addition, 72 | .hljs-stream, 73 | .hljs-envvar, 74 | .apache .hljs-tag, 75 | .apache .hljs-cbracket, 76 | .tex .hljs-command, 77 | .hljs-prompt, 78 | .hljs-name { 79 | color: #a6e22e; 80 | } 81 | 82 | .hljs-comment, 83 | .hljs-annotation, 84 | .smartquote, 85 | .hljs-blockquote, 86 | .hljs-horizontal_rule, 87 | .hljs-decorator, 88 | .hljs-pi, 89 | .hljs-doctype, 90 | .hljs-deletion, 91 | .hljs-shebang, 92 | .apache .hljs-sqbracket, 93 | .tex .hljs-formula { 94 | color: #75715e; 95 | } 96 | 97 | .hljs-keyword, 98 | .hljs-literal, 99 | .css .hljs-id, 100 | .hljs-doctag, 101 | .hljs-title, 102 | .hljs-header, 103 | .hljs-type, 104 | .vbscript .hljs-built_in, 105 | .rsl .hljs-built_in, 106 | .smalltalk .hljs-class, 107 | .diff .hljs-header, 108 | .hljs-chunk, 109 | .hljs-winutils, 110 | .bash .hljs-variable, 111 | .apache .hljs-tag, 112 | .tex .hljs-special, 113 | .hljs-request, 114 | .hljs-status { 115 | font-weight: bold; 116 | } 117 | 118 | .coffeescript .javascript, 119 | .javascript .xml, 120 | .tex .hljs-formula, 121 | .xml .javascript, 122 | .xml .vbscript, 123 | .xml .css, 124 | .xml .hljs-cdata { 125 | opacity: 0.5; 126 | } 127 | -------------------------------------------------------------------------------- /themes/code/style/monokai_sublime/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/monokai_sublime.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/monokai_sublime/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-license.org/ 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #23241f; 12 | -webkit-text-size-adjust: none; 13 | } 14 | 15 | .hljs, 16 | .hljs-tag, 17 | .css .hljs-rule, 18 | .css .hljs-value, 19 | .aspectj .hljs-function, 20 | .css .hljs-function 21 | .hljs-preprocessor, 22 | .hljs-pragma { 23 | color: #f8f8f2; 24 | } 25 | 26 | .hljs-strongemphasis, 27 | .hljs-strong, 28 | .hljs-emphasis { 29 | color: #a8a8a2; 30 | } 31 | 32 | .hljs-bullet, 33 | .hljs-blockquote, 34 | .hljs-horizontal_rule, 35 | .hljs-number, 36 | .hljs-regexp, 37 | .alias .hljs-keyword, 38 | .hljs-literal, 39 | .hljs-hexcolor { 40 | color: #ae81ff; 41 | } 42 | 43 | .hljs-tag .hljs-value, 44 | .hljs-code, 45 | .hljs-title, 46 | .css .hljs-class, 47 | .hljs-class .hljs-title:last-child { 48 | color: #a6e22e; 49 | } 50 | 51 | .hljs-link_url { 52 | font-size: 80%; 53 | } 54 | 55 | .hljs-strong, 56 | .hljs-strongemphasis { 57 | font-weight: bold; 58 | } 59 | 60 | .hljs-emphasis, 61 | .hljs-strongemphasis, 62 | .hljs-class .hljs-title:last-child, 63 | .hljs-typename { 64 | font-style: italic; 65 | } 66 | 67 | .hljs-keyword, 68 | .ruby .hljs-class .hljs-keyword:first-child, 69 | .ruby .hljs-function .hljs-keyword, 70 | .hljs-function, 71 | .hljs-change, 72 | .hljs-winutils, 73 | .hljs-flow, 74 | .nginx .hljs-title, 75 | .tex .hljs-special, 76 | .hljs-header, 77 | .hljs-attribute, 78 | .hljs-symbol, 79 | .hljs-symbol .hljs-string, 80 | .hljs-tag .hljs-title, 81 | .hljs-value, 82 | .alias .hljs-keyword:first-child, 83 | .css .hljs-tag, 84 | .css .unit, 85 | .css .hljs-important { 86 | color: #f92672; 87 | } 88 | 89 | .hljs-function .hljs-keyword, 90 | .hljs-class .hljs-keyword:first-child, 91 | .hljs-aspect .hljs-keyword:first-child, 92 | .hljs-constant, 93 | .hljs-typename, 94 | .hljs-name, 95 | .css .hljs-attribute { 96 | color: #66d9ef; 97 | } 98 | 99 | .hljs-variable, 100 | .hljs-params, 101 | .hljs-class .hljs-title, 102 | .hljs-aspect .hljs-title { 103 | color: #f8f8f2; 104 | } 105 | 106 | .hljs-string, 107 | .css .hljs-id, 108 | .hljs-subst, 109 | .hljs-type, 110 | .ruby .hljs-class .hljs-parent, 111 | .hljs-built_in, 112 | .django .hljs-template_tag, 113 | .django .hljs-variable, 114 | .smalltalk .hljs-class, 115 | .django .hljs-filter .hljs-argument, 116 | .smalltalk .hljs-localvars, 117 | .smalltalk .hljs-array, 118 | .hljs-attr_selector, 119 | .hljs-pseudo, 120 | .hljs-addition, 121 | .hljs-stream, 122 | .hljs-envvar, 123 | .apache .hljs-tag, 124 | .apache .hljs-cbracket, 125 | .tex .hljs-command, 126 | .hljs-prompt, 127 | .hljs-link_label, 128 | .hljs-link_url { 129 | color: #e6db74; 130 | } 131 | 132 | .hljs-comment, 133 | .hljs-annotation, 134 | .hljs-decorator, 135 | .hljs-pi, 136 | .hljs-doctype, 137 | .hljs-deletion, 138 | .hljs-shebang, 139 | .apache .hljs-sqbracket, 140 | .tex .hljs-formula { 141 | color: #75715e; 142 | } 143 | 144 | .coffeescript .javascript, 145 | .javascript .xml, 146 | .tex .hljs-formula, 147 | .xml .javascript, 148 | .xml .vbscript, 149 | .xml .css, 150 | .xml .hljs-cdata, 151 | .xml .php, 152 | .php .xml { 153 | opacity: 0.5; 154 | } 155 | -------------------------------------------------------------------------------- /themes/code/style/obsidian/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/obsidian.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/obsidian/style.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Obsidian style 3 | * ported by Alexander Marenin (http://github.com/ioncreature) 4 | */ 5 | 6 | .hljs { 7 | display: block; 8 | overflow-x: auto; 9 | padding: 0.5em; 10 | background: #282b2e; 11 | -webkit-text-size-adjust: none; 12 | } 13 | 14 | .hljs-keyword, 15 | .hljs-literal, 16 | .hljs-change, 17 | .hljs-winutils, 18 | .hljs-flow, 19 | .nginx .hljs-title, 20 | .css .hljs-id, 21 | .tex .hljs-special { 22 | color: #93c763; 23 | } 24 | 25 | .hljs-number { 26 | color: #ffcd22; 27 | } 28 | 29 | .hljs { 30 | color: #e0e2e4; 31 | } 32 | 33 | .css .hljs-tag, 34 | .css .hljs-pseudo { 35 | color: #d0d2b5; 36 | } 37 | 38 | .hljs-attribute, 39 | .hljs .hljs-constant { 40 | color: #668bb0; 41 | } 42 | 43 | .xml .hljs-attribute { 44 | color: #b3b689; 45 | } 46 | 47 | .xml .hljs-tag .hljs-value { 48 | color: #e8e2b7; 49 | } 50 | 51 | .hljs-code, 52 | .hljs-class .hljs-title, 53 | .hljs-header { 54 | color: white; 55 | } 56 | 57 | .hljs-class, 58 | .hljs-hexcolor { 59 | color: #93c763; 60 | } 61 | 62 | .hljs-regexp { 63 | color: #d39745; 64 | } 65 | 66 | .hljs-at_rule, 67 | .hljs-at_rule .hljs-keyword { 68 | color: #a082bd; 69 | } 70 | 71 | .hljs-doctype { 72 | color: #557182; 73 | } 74 | 75 | .hljs-link_url, 76 | .hljs-tag, 77 | .hljs-tag .hljs-title, 78 | .hljs-bullet, 79 | .hljs-subst, 80 | .hljs-emphasis, 81 | .hljs-type, 82 | .hljs-preprocessor, 83 | .hljs-pragma, 84 | .ruby .hljs-class .hljs-parent, 85 | .hljs-built_in, 86 | .django .hljs-template_tag, 87 | .django .hljs-variable, 88 | .smalltalk .hljs-class, 89 | .django .hljs-filter .hljs-argument, 90 | .smalltalk .hljs-localvars, 91 | .smalltalk .hljs-array, 92 | .hljs-attr_selector, 93 | .hljs-pseudo, 94 | .hljs-addition, 95 | .hljs-stream, 96 | .hljs-envvar, 97 | .apache .hljs-tag, 98 | .apache .hljs-cbracket, 99 | .tex .hljs-command, 100 | .hljs-prompt, 101 | .hljs-name { 102 | color: #8cbbad; 103 | } 104 | 105 | .hljs-string { 106 | color: #ec7600; 107 | } 108 | 109 | .hljs-comment, 110 | .hljs-annotation, 111 | .hljs-blockquote, 112 | .hljs-horizontal_rule, 113 | .hljs-decorator, 114 | .hljs-pi, 115 | .hljs-deletion, 116 | .hljs-shebang, 117 | .apache .hljs-sqbracket, 118 | .tex .hljs-formula { 119 | color: #818e96; 120 | } 121 | 122 | .hljs-keyword, 123 | .hljs-literal, 124 | .css .hljs-id, 125 | .hljs-doctag, 126 | .hljs-title, 127 | .hljs-header, 128 | .hljs-type, 129 | .vbscript .hljs-built_in, 130 | .rsl .hljs-built_in, 131 | .smalltalk .hljs-class, 132 | .diff .hljs-header, 133 | .hljs-chunk, 134 | .hljs-winutils, 135 | .bash .hljs-variable, 136 | .apache .hljs-tag, 137 | .tex .hljs-special, 138 | .hljs-request, 139 | .hljs-at_rule .hljs-keyword, 140 | .hljs-status { 141 | font-weight: bold; 142 | } 143 | 144 | .coffeescript .javascript, 145 | .javascript .xml, 146 | .tex .hljs-formula, 147 | .xml .javascript, 148 | .xml .vbscript, 149 | .xml .css, 150 | .xml .hljs-cdata { 151 | opacity: 0.5; 152 | } 153 | -------------------------------------------------------------------------------- /themes/code/style/paraiso/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/paraiso.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/paraiso/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | Paraíso (light) 3 | Created by Jan T. Sott (http://github.com/idleberg) 4 | Inspired by the art of Rubens LP (http://www.rubenslp.com.br) 5 | */ 6 | 7 | /* Paraíso Comment */ 8 | .hljs-comment, 9 | .hljs-title { 10 | color: #776e71; 11 | } 12 | 13 | /* Paraíso Red */ 14 | .hljs-variable, 15 | .hljs-attribute, 16 | .hljs-tag, 17 | .hljs-regexp, 18 | .hljs-name, 19 | .ruby .hljs-constant, 20 | .xml .hljs-tag .hljs-title, 21 | .xml .hljs-pi, 22 | .xml .hljs-doctype, 23 | .html .hljs-doctype, 24 | .css .hljs-id, 25 | .css .hljs-class, 26 | .css .hljs-pseudo { 27 | color: #ef6155; 28 | } 29 | 30 | /* Paraíso Orange */ 31 | .hljs-number, 32 | .hljs-preprocessor, 33 | .hljs-built_in, 34 | .hljs-literal, 35 | .hljs-params, 36 | .hljs-constant { 37 | color: #f99b15; 38 | } 39 | 40 | /* Paraíso Yellow */ 41 | .ruby .hljs-class .hljs-title, 42 | .css .hljs-rule .hljs-attribute { 43 | color: #fec418; 44 | } 45 | 46 | /* Paraíso Green */ 47 | .hljs-string, 48 | .hljs-value, 49 | .hljs-inheritance, 50 | .hljs-header, 51 | .ruby .hljs-symbol, 52 | .xml .hljs-cdata { 53 | color: #48b685; 54 | } 55 | 56 | /* Paraíso Aqua */ 57 | .css .hljs-hexcolor { 58 | color: #5bc4bf; 59 | } 60 | 61 | /* Paraíso Blue */ 62 | .hljs-function, 63 | .python .hljs-decorator, 64 | .python .hljs-title, 65 | .ruby .hljs-function .hljs-title, 66 | .ruby .hljs-title .hljs-keyword, 67 | .perl .hljs-sub, 68 | .javascript .hljs-title, 69 | .coffeescript .hljs-title { 70 | color: #06b6ef; 71 | } 72 | 73 | /* Paraíso Purple */ 74 | .hljs-keyword, 75 | .javascript .hljs-function { 76 | color: #815ba4; 77 | } 78 | 79 | .hljs { 80 | display: block; 81 | overflow-x: auto; 82 | background: #e7e9db; 83 | color: #4f424c; 84 | padding: 0.5em; 85 | -webkit-text-size-adjust: none; 86 | } 87 | 88 | .coffeescript .javascript, 89 | .javascript .xml, 90 | .tex .hljs-formula, 91 | .xml .javascript, 92 | .xml .vbscript, 93 | .xml .css, 94 | .xml .hljs-cdata { 95 | opacity: 0.5; 96 | } 97 | -------------------------------------------------------------------------------- /themes/code/style/pojoaque/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/pojoaque.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/pojoaque/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/themes/code/style/pojoaque/style.css -------------------------------------------------------------------------------- /themes/code/style/railscasts/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/railscasts.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/rainbow/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/rainbow.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/rainbow/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Style with support for rainbow parens 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #474949; 12 | color: #d1d9e1; 13 | -webkit-text-size-adjust: none; 14 | } 15 | 16 | 17 | .hljs-body, 18 | .hljs-collection { 19 | color: #d1d9e1; 20 | } 21 | 22 | .hljs-comment, 23 | .diff .hljs-header, 24 | .hljs-doctype, 25 | .lisp .hljs-string { 26 | color: #969896; 27 | font-style: italic; 28 | } 29 | 30 | .hljs-keyword, 31 | .clojure .hljs-attribute, 32 | .hljs-winutils, 33 | .javascript .hljs-title, 34 | .hljs-addition, 35 | .css .hljs-tag { 36 | color: #cc99cc; 37 | } 38 | 39 | .hljs-number { color: #f99157; } 40 | 41 | .hljs-command, 42 | .hljs-string, 43 | .hljs-tag .hljs-value, 44 | .hljs-doctag, 45 | .tex .hljs-formula, 46 | .hljs-regexp, 47 | .hljs-hexcolor { 48 | color: #8abeb7; 49 | } 50 | 51 | .hljs-title, 52 | .hljs-localvars, 53 | .hljs-function .hljs-title, 54 | .hljs-chunk, 55 | .hljs-decorator, 56 | .hljs-built_in, 57 | .hljs-identifier { 58 | color: #b5bd68; 59 | } 60 | 61 | .hljs-class .hljs-keyword { 62 | color: #f2777a; 63 | } 64 | 65 | .hljs-variable, 66 | .smalltalk .hljs-number, 67 | .hljs-constant, 68 | .hljs-class .hljs-title, 69 | .hljs-parent, 70 | .haskell .hljs-label, 71 | .hljs-id, 72 | .hljs-name { 73 | color: #ffcc66; 74 | } 75 | 76 | .hljs-tag .hljs-title, 77 | .hljs-rule .hljs-property, 78 | .django .hljs-tag .hljs-keyword { 79 | font-weight: bold; 80 | } 81 | 82 | .hljs-attribute { 83 | color: #81a2be; 84 | } 85 | 86 | .hljs-preprocessor, 87 | .hljs-pragma, 88 | .hljs-pi, 89 | .hljs-shebang, 90 | .hljs-symbol, 91 | .hljs-symbol .hljs-string, 92 | .diff .hljs-change, 93 | .hljs-special, 94 | .hljs-attr_selector, 95 | .hljs-important, 96 | .hljs-subst, 97 | .hljs-cdata { 98 | color: #f99157; 99 | } 100 | 101 | .hljs-deletion { 102 | color: #dc322f; 103 | } 104 | 105 | .tex .hljs-formula { 106 | background: #eee8d5; 107 | } 108 | -------------------------------------------------------------------------------- /themes/code/style/school_book/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/school_book.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/school_book/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goldsborough/markdownpp/3d603dedee7a4d4a00950fef93a04be65e24a88f/themes/code/style/school_book/style.css -------------------------------------------------------------------------------- /themes/code/style/solarized_dark/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/solarized_dark.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/solarized_dark/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #002b36; 12 | color: #839496; 13 | -webkit-text-size-adjust: none; 14 | } 15 | 16 | .hljs-comment, 17 | .diff .hljs-header, 18 | .hljs-doctype, 19 | .hljs-pi, 20 | .lisp .hljs-string { 21 | color: #586e75; 22 | } 23 | 24 | /* Solarized Green */ 25 | .hljs-keyword, 26 | .hljs-winutils, 27 | .method, 28 | .hljs-addition, 29 | .css .hljs-tag, 30 | .hljs-request, 31 | .hljs-status, 32 | .nginx .hljs-title { 33 | color: #859900; 34 | } 35 | 36 | /* Solarized Cyan */ 37 | .hljs-number, 38 | .hljs-command, 39 | .hljs-string, 40 | .hljs-tag .hljs-value, 41 | .hljs-rule .hljs-value, 42 | .hljs-doctag, 43 | .tex .hljs-formula, 44 | .hljs-regexp, 45 | .hljs-hexcolor, 46 | .hljs-link_url { 47 | color: #2aa198; 48 | } 49 | 50 | /* Solarized Blue */ 51 | .hljs-title, 52 | .hljs-localvars, 53 | .hljs-chunk, 54 | .hljs-decorator, 55 | .hljs-built_in, 56 | .hljs-identifier, 57 | .vhdl .hljs-literal, 58 | .hljs-id, 59 | .css .hljs-function, 60 | .hljs-name { 61 | color: #268bd2; 62 | } 63 | 64 | /* Solarized Yellow */ 65 | .hljs-attribute, 66 | .hljs-variable, 67 | .lisp .hljs-body, 68 | .smalltalk .hljs-number, 69 | .hljs-constant, 70 | .hljs-class .hljs-title, 71 | .hljs-parent, 72 | .hljs-type, 73 | .hljs-link_reference { 74 | color: #b58900; 75 | } 76 | 77 | /* Solarized Orange */ 78 | .hljs-preprocessor, 79 | .hljs-preprocessor .hljs-keyword, 80 | .hljs-pragma, 81 | .hljs-shebang, 82 | .hljs-symbol, 83 | .hljs-symbol .hljs-string, 84 | .diff .hljs-change, 85 | .hljs-special, 86 | .hljs-attr_selector, 87 | .hljs-subst, 88 | .hljs-cdata, 89 | .css .hljs-pseudo, 90 | .hljs-header { 91 | color: #cb4b16; 92 | } 93 | 94 | /* Solarized Red */ 95 | .hljs-deletion, 96 | .hljs-important { 97 | color: #dc322f; 98 | } 99 | 100 | /* Solarized Violet */ 101 | .hljs-link_label { 102 | color: #6c71c4; 103 | } 104 | 105 | .tex .hljs-formula { 106 | background: #073642; 107 | } 108 | -------------------------------------------------------------------------------- /themes/code/style/solarized_light/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/solarized_light.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/solarized_light/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #fdf6e3; 12 | color: #657b83; 13 | -webkit-text-size-adjust: none; 14 | } 15 | 16 | .hljs-comment, 17 | .diff .hljs-header, 18 | .hljs-doctype, 19 | .hljs-pi, 20 | .lisp .hljs-string { 21 | color: #93a1a1; 22 | } 23 | 24 | /* Solarized Green */ 25 | .hljs-keyword, 26 | .hljs-winutils, 27 | .method, 28 | .hljs-addition, 29 | .css .hljs-tag, 30 | .hljs-request, 31 | .hljs-status, 32 | .nginx .hljs-title { 33 | color: #859900; 34 | } 35 | 36 | /* Solarized Cyan */ 37 | .hljs-number, 38 | .hljs-command, 39 | .hljs-string, 40 | .hljs-tag .hljs-value, 41 | .hljs-rule .hljs-value, 42 | .hljs-doctag, 43 | .tex .hljs-formula, 44 | .hljs-regexp, 45 | .hljs-hexcolor, 46 | .hljs-link_url { 47 | color: #2aa198; 48 | } 49 | 50 | /* Solarized Blue */ 51 | .hljs-title, 52 | .hljs-localvars, 53 | .hljs-chunk, 54 | .hljs-decorator, 55 | .hljs-built_in, 56 | .hljs-identifier, 57 | .vhdl .hljs-literal, 58 | .hljs-id, 59 | .css .hljs-function, 60 | .hljs-name { 61 | color: #268bd2; 62 | } 63 | 64 | /* Solarized Yellow */ 65 | .hljs-attribute, 66 | .hljs-variable, 67 | .lisp .hljs-body, 68 | .smalltalk .hljs-number, 69 | .hljs-constant, 70 | .hljs-class .hljs-title, 71 | .hljs-parent, 72 | .hljs-type, 73 | .hljs-link_reference { 74 | color: #b58900; 75 | } 76 | 77 | /* Solarized Orange */ 78 | .hljs-preprocessor, 79 | .hljs-preprocessor .hljs-keyword, 80 | .hljs-pragma, 81 | .hljs-shebang, 82 | .hljs-symbol, 83 | .hljs-symbol .hljs-string, 84 | .diff .hljs-change, 85 | .hljs-special, 86 | .hljs-attr_selector, 87 | .hljs-subst, 88 | .hljs-cdata, 89 | .css .hljs-pseudo, 90 | .hljs-header { 91 | color: #cb4b16; 92 | } 93 | 94 | /* Solarized Red */ 95 | .hljs-deletion, 96 | .hljs-important { 97 | color: #dc322f; 98 | } 99 | 100 | /* Solarized Violet */ 101 | .hljs-link_label { 102 | color: #6c71c4; 103 | } 104 | 105 | .tex .hljs-formula { 106 | background: #eee8d5; 107 | } 108 | -------------------------------------------------------------------------------- /themes/code/style/sunburst/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/sunburst.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/sunburst/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Sunburst-like style (c) Vasily Polovnyov 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #000; 12 | color: #f8f8f8; 13 | -webkit-text-size-adjust: none; 14 | } 15 | 16 | .hljs-comment { 17 | color: #aeaeae; 18 | font-style: italic; 19 | } 20 | 21 | .hljs-keyword, 22 | .ruby .hljs-function .hljs-keyword, 23 | .hljs-request, 24 | .hljs-status, 25 | .nginx .hljs-title { 26 | color: #e28964; 27 | } 28 | 29 | .hljs-function .hljs-keyword, 30 | .hljs-sub .hljs-keyword, 31 | .method, 32 | .hljs-list .hljs-title { 33 | color: #99cf50; 34 | } 35 | 36 | .hljs-string, 37 | .hljs-tag .hljs-value, 38 | .hljs-cdata, 39 | .hljs-filter .hljs-argument, 40 | .hljs-attr_selector, 41 | .apache .hljs-cbracket, 42 | .hljs-date, 43 | .tex .hljs-command, 44 | .coffeescript .hljs-attribute, 45 | .hljs-name { 46 | color: #65b042; 47 | } 48 | 49 | .hljs-subst { 50 | color: #daefa3; 51 | } 52 | 53 | .hljs-regexp { 54 | color: #e9c062; 55 | } 56 | 57 | .hljs-title, 58 | .hljs-sub .hljs-identifier, 59 | .hljs-pi, 60 | .hljs-tag, 61 | .hljs-tag .hljs-keyword, 62 | .hljs-decorator, 63 | .hljs-shebang, 64 | .hljs-prompt { 65 | color: #89bdff; 66 | } 67 | 68 | .hljs-class .hljs-title, 69 | .hljs-type, 70 | .smalltalk .hljs-class, 71 | .hljs-doctag { 72 | text-decoration: underline; 73 | } 74 | 75 | .hljs-symbol, 76 | .ruby .hljs-symbol .hljs-string, 77 | .hljs-number { 78 | color: #3387cc; 79 | } 80 | 81 | .hljs-params, 82 | .hljs-variable, 83 | .clojure .hljs-attribute { 84 | color: #3e87e3; 85 | } 86 | 87 | .css .hljs-tag, 88 | .hljs-rule .hljs-property, 89 | .hljs-pseudo, 90 | .tex .hljs-special { 91 | color: #cda869; 92 | } 93 | 94 | .css .hljs-class { 95 | color: #9b703f; 96 | } 97 | 98 | .hljs-rule .hljs-keyword { 99 | color: #c5af75; 100 | } 101 | 102 | .hljs-rule .hljs-value { 103 | color: #cf6a4c; 104 | } 105 | 106 | .css .hljs-id { 107 | color: #8b98ab; 108 | } 109 | 110 | .hljs-annotation, 111 | .apache .hljs-sqbracket, 112 | .nginx .hljs-built_in { 113 | color: #9b859d; 114 | } 115 | 116 | .hljs-preprocessor, 117 | .hljs-pragma { 118 | color: #8996a8; 119 | } 120 | 121 | .hljs-hexcolor, 122 | .css .hljs-value .hljs-number { 123 | color: #dd7b3b; 124 | } 125 | 126 | .css .hljs-function { 127 | color: #dad085; 128 | } 129 | 130 | .diff .hljs-header, 131 | .hljs-chunk, 132 | .tex .hljs-formula { 133 | background-color: #0e2231; 134 | color: #f8f8f8; 135 | font-style: italic; 136 | } 137 | 138 | .diff .hljs-change { 139 | background-color: #4a410d; 140 | color: #f8f8f8; 141 | } 142 | 143 | .hljs-addition { 144 | background-color: #253b22; 145 | color: #f8f8f8; 146 | } 147 | 148 | .hljs-deletion { 149 | background-color: #420e09; 150 | color: #f8f8f8; 151 | } 152 | 153 | .coffeescript .javascript, 154 | .javascript .xml, 155 | .tex .hljs-formula, 156 | .xml .javascript, 157 | .xml .vbscript, 158 | .xml .css, 159 | .xml .hljs-cdata { 160 | opacity: 0.5; 161 | } 162 | -------------------------------------------------------------------------------- /themes/code/style/tomorrow-night-blue/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/tomorrow-night-blue.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/tomorrow-night-blue/style.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Night Blue Theme */ 2 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 3 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 4 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 5 | 6 | /* Tomorrow Comment */ 7 | .hljs-comment { 8 | color: #7285b7; 9 | } 10 | 11 | /* Tomorrow Red */ 12 | .hljs-variable, 13 | .hljs-attribute, 14 | .hljs-tag, 15 | .hljs-regexp, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #ff9da4; 25 | } 26 | 27 | /* Tomorrow Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-pragma, 31 | .hljs-built_in, 32 | .hljs-literal, 33 | .hljs-params, 34 | .hljs-constant { 35 | color: #ffc58f; 36 | } 37 | 38 | /* Tomorrow Yellow */ 39 | .ruby .hljs-class .hljs-title, 40 | .css .hljs-rule .hljs-attribute { 41 | color: #ffeead; 42 | } 43 | 44 | /* Tomorrow Green */ 45 | .hljs-string, 46 | .hljs-value, 47 | .hljs-inheritance, 48 | .hljs-header, 49 | .hljs-name, 50 | .ruby .hljs-symbol, 51 | .xml .hljs-cdata { 52 | color: #d1f1a9; 53 | } 54 | 55 | /* Tomorrow Aqua */ 56 | .hljs-title, 57 | .css .hljs-hexcolor { 58 | color: #99ffff; 59 | } 60 | 61 | /* Tomorrow Blue */ 62 | .hljs-function, 63 | .python .hljs-decorator, 64 | .python .hljs-title, 65 | .ruby .hljs-function .hljs-title, 66 | .ruby .hljs-title .hljs-keyword, 67 | .perl .hljs-sub, 68 | .javascript .hljs-title, 69 | .coffeescript .hljs-title { 70 | color: #bbdaff; 71 | } 72 | 73 | /* Tomorrow Purple */ 74 | .hljs-keyword, 75 | .javascript .hljs-function { 76 | color: #ebbbff; 77 | } 78 | 79 | .hljs { 80 | display: block; 81 | overflow-x: auto; 82 | background: #002451; 83 | color: white; 84 | padding: 0.5em; 85 | -webkit-text-size-adjust: none; 86 | } 87 | 88 | .coffeescript .javascript, 89 | .javascript .xml, 90 | .tex .hljs-formula, 91 | .xml .javascript, 92 | .xml .vbscript, 93 | .xml .css, 94 | .xml .hljs-cdata { 95 | opacity: 0.5; 96 | } 97 | -------------------------------------------------------------------------------- /themes/code/style/tomorrow-night-bright/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/tomorrow-night-bright.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/tomorrow-night-bright/style.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Night Bright Theme */ 2 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 3 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 4 | 5 | /* Tomorrow Comment */ 6 | .hljs-comment { 7 | color: #969896; 8 | } 9 | 10 | /* Tomorrow Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .ruby .hljs-constant, 16 | .xml .hljs-tag .hljs-title, 17 | .xml .hljs-pi, 18 | .xml .hljs-doctype, 19 | .html .hljs-doctype, 20 | .css .hljs-id, 21 | .css .hljs-class, 22 | .css .hljs-pseudo { 23 | color: #d54e53; 24 | } 25 | 26 | /* Tomorrow Orange */ 27 | .hljs-number, 28 | .hljs-preprocessor, 29 | .hljs-pragma, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #e78c45; 35 | } 36 | 37 | /* Tomorrow Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #e7c547; 41 | } 42 | 43 | /* Tomorrow Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .hljs-name, 49 | .ruby .hljs-symbol, 50 | .xml .hljs-cdata { 51 | color: #b9ca4a; 52 | } 53 | 54 | /* Tomorrow Aqua */ 55 | .hljs-title, 56 | .css .hljs-hexcolor { 57 | color: #70c0b1; 58 | } 59 | 60 | /* Tomorrow Blue */ 61 | .hljs-function, 62 | .python .hljs-decorator, 63 | .python .hljs-title, 64 | .ruby .hljs-function .hljs-title, 65 | .ruby .hljs-title .hljs-keyword, 66 | .perl .hljs-sub, 67 | .javascript .hljs-title, 68 | .coffeescript .hljs-title { 69 | color: #7aa6da; 70 | } 71 | 72 | /* Tomorrow Purple */ 73 | .hljs-keyword, 74 | .javascript .hljs-function { 75 | color: #c397d8; 76 | } 77 | 78 | .hljs { 79 | display: block; 80 | overflow-x: auto; 81 | background: black; 82 | color: #eaeaea; 83 | padding: 0.5em; 84 | -webkit-text-size-adjust: none; 85 | } 86 | 87 | .coffeescript .javascript, 88 | .javascript .xml, 89 | .tex .hljs-formula, 90 | .xml .javascript, 91 | .xml .vbscript, 92 | .xml .css, 93 | .xml .hljs-cdata { 94 | opacity: 0.5; 95 | } 96 | -------------------------------------------------------------------------------- /themes/code/style/tomorrow-night-eighties/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/tomorrow-night-eighties.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/tomorrow-night-eighties/style.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Night Eighties Theme */ 2 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 3 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 4 | 5 | /* Tomorrow Comment */ 6 | .hljs-comment { 7 | color: #999999; 8 | } 9 | 10 | /* Tomorrow Red */ 11 | .hljs-variable, 12 | .hljs-attribute, 13 | .hljs-tag, 14 | .hljs-regexp, 15 | .ruby .hljs-constant, 16 | .xml .hljs-tag .hljs-title, 17 | .xml .hljs-pi, 18 | .xml .hljs-doctype, 19 | .html .hljs-doctype, 20 | .css .hljs-id, 21 | .css .hljs-class, 22 | .css .hljs-pseudo { 23 | color: #f2777a; 24 | } 25 | 26 | /* Tomorrow Orange */ 27 | .hljs-number, 28 | .hljs-preprocessor, 29 | .hljs-pragma, 30 | .hljs-built_in, 31 | .hljs-literal, 32 | .hljs-params, 33 | .hljs-constant { 34 | color: #f99157; 35 | } 36 | 37 | /* Tomorrow Yellow */ 38 | .ruby .hljs-class .hljs-title, 39 | .css .hljs-rule .hljs-attribute { 40 | color: #ffcc66; 41 | } 42 | 43 | /* Tomorrow Green */ 44 | .hljs-string, 45 | .hljs-value, 46 | .hljs-inheritance, 47 | .hljs-header, 48 | .hljs-name, 49 | .ruby .hljs-symbol, 50 | .xml .hljs-cdata { 51 | color: #99cc99; 52 | } 53 | 54 | /* Tomorrow Aqua */ 55 | .hljs-title, 56 | .css .hljs-hexcolor { 57 | color: #66cccc; 58 | } 59 | 60 | /* Tomorrow Blue */ 61 | .hljs-function, 62 | .python .hljs-decorator, 63 | .python .hljs-title, 64 | .ruby .hljs-function .hljs-title, 65 | .ruby .hljs-title .hljs-keyword, 66 | .perl .hljs-sub, 67 | .javascript .hljs-title, 68 | .coffeescript .hljs-title { 69 | color: #6699cc; 70 | } 71 | 72 | /* Tomorrow Purple */ 73 | .hljs-keyword, 74 | .javascript .hljs-function { 75 | color: #cc99cc; 76 | } 77 | 78 | .hljs { 79 | display: block; 80 | overflow-x: auto; 81 | background: #2d2d2d; 82 | color: #cccccc; 83 | padding: 0.5em; 84 | -webkit-text-size-adjust: none; 85 | } 86 | 87 | .coffeescript .javascript, 88 | .javascript .xml, 89 | .tex .hljs-formula, 90 | .xml .javascript, 91 | .xml .vbscript, 92 | .xml .css, 93 | .xml .hljs-cdata { 94 | opacity: 0.5; 95 | } 96 | -------------------------------------------------------------------------------- /themes/code/style/tomorrow-night/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/tomorrow-night.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/tomorrow-night/style.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Night Theme */ 2 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 3 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 4 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 5 | 6 | /* Tomorrow Comment */ 7 | .hljs-comment { 8 | color: #969896; 9 | } 10 | 11 | /* Tomorrow Red */ 12 | .hljs-variable, 13 | .hljs-attribute, 14 | .hljs-tag, 15 | .hljs-regexp, 16 | .ruby .hljs-constant, 17 | .xml .hljs-tag .hljs-title, 18 | .xml .hljs-pi, 19 | .xml .hljs-doctype, 20 | .html .hljs-doctype, 21 | .css .hljs-id, 22 | .css .hljs-class, 23 | .css .hljs-pseudo { 24 | color: #cc6666; 25 | } 26 | 27 | /* Tomorrow Orange */ 28 | .hljs-number, 29 | .hljs-preprocessor, 30 | .hljs-pragma, 31 | .hljs-built_in, 32 | .hljs-literal, 33 | .hljs-params, 34 | .hljs-constant { 35 | color: #de935f; 36 | } 37 | 38 | /* Tomorrow Yellow */ 39 | .ruby .hljs-class .hljs-title, 40 | .css .hljs-rule .hljs-attribute { 41 | color: #f0c674; 42 | } 43 | 44 | /* Tomorrow Green */ 45 | .hljs-string, 46 | .hljs-value, 47 | .hljs-inheritance, 48 | .hljs-header, 49 | .hljs-name, 50 | .ruby .hljs-symbol, 51 | .xml .hljs-cdata { 52 | color: #b5bd68; 53 | } 54 | 55 | /* Tomorrow Aqua */ 56 | .hljs-title, 57 | .css .hljs-hexcolor { 58 | color: #8abeb7; 59 | } 60 | 61 | /* Tomorrow Blue */ 62 | .hljs-function, 63 | .python .hljs-decorator, 64 | .python .hljs-title, 65 | .ruby .hljs-function .hljs-title, 66 | .ruby .hljs-title .hljs-keyword, 67 | .perl .hljs-sub, 68 | .javascript .hljs-title, 69 | .coffeescript .hljs-title { 70 | color: #81a2be; 71 | } 72 | 73 | /* Tomorrow Purple */ 74 | .hljs-keyword, 75 | .javascript .hljs-function { 76 | color: #b294bb; 77 | } 78 | 79 | .hljs { 80 | display: block; 81 | overflow-x: auto; 82 | background: #1d1f21; 83 | color: #c5c8c6; 84 | padding: 0.5em; 85 | -webkit-text-size-adjust: none; 86 | } 87 | 88 | .coffeescript .javascript, 89 | .javascript .xml, 90 | .tex .hljs-formula, 91 | .xml .javascript, 92 | .xml .vbscript, 93 | .xml .css, 94 | .xml .hljs-cdata { 95 | opacity: 0.5; 96 | } 97 | -------------------------------------------------------------------------------- /themes/code/style/tomorrow/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/tomorrow.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/tomorrow/style.css: -------------------------------------------------------------------------------- 1 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 2 | 3 | /* Tomorrow Comment */ 4 | .hljs-comment { 5 | color: #8e908c; 6 | } 7 | 8 | /* Tomorrow Red */ 9 | .hljs-variable, 10 | .hljs-attribute, 11 | .hljs-tag, 12 | .hljs-regexp, 13 | .ruby .hljs-constant, 14 | .xml .hljs-tag .hljs-title, 15 | .xml .hljs-pi, 16 | .xml .hljs-doctype, 17 | .html .hljs-doctype, 18 | .css .hljs-id, 19 | .css .hljs-class, 20 | .css .hljs-pseudo { 21 | color: #c82829; 22 | } 23 | 24 | /* Tomorrow Orange */ 25 | .hljs-number, 26 | .hljs-preprocessor, 27 | .hljs-pragma, 28 | .hljs-built_in, 29 | .hljs-literal, 30 | .hljs-params, 31 | .hljs-constant { 32 | color: #f5871f; 33 | } 34 | 35 | /* Tomorrow Yellow */ 36 | .ruby .hljs-class .hljs-title, 37 | .css .hljs-rule .hljs-attribute { 38 | color: #eab700; 39 | } 40 | 41 | /* Tomorrow Green */ 42 | .hljs-string, 43 | .hljs-value, 44 | .hljs-inheritance, 45 | .hljs-header, 46 | .hljs-name, 47 | .ruby .hljs-symbol, 48 | .xml .hljs-cdata { 49 | color: #718c00; 50 | } 51 | 52 | /* Tomorrow Aqua */ 53 | .hljs-title, 54 | .css .hljs-hexcolor { 55 | color: #3e999f; 56 | } 57 | 58 | /* Tomorrow Blue */ 59 | .hljs-function, 60 | .python .hljs-decorator, 61 | .python .hljs-title, 62 | .ruby .hljs-function .hljs-title, 63 | .ruby .hljs-title .hljs-keyword, 64 | .perl .hljs-sub, 65 | .javascript .hljs-title, 66 | .coffeescript .hljs-title { 67 | color: #4271ae; 68 | } 69 | 70 | /* Tomorrow Purple */ 71 | .hljs-keyword, 72 | .javascript .hljs-function { 73 | color: #8959a8; 74 | } 75 | 76 | .hljs { 77 | display: block; 78 | overflow-x: auto; 79 | background: white; 80 | color: #4d4d4c; 81 | padding: 0.5em; 82 | -webkit-text-size-adjust: none; 83 | } 84 | 85 | .coffeescript .javascript, 86 | .javascript .xml, 87 | .tex .hljs-formula, 88 | .xml .javascript, 89 | .xml .vbscript, 90 | .xml .css, 91 | .xml .hljs-cdata { 92 | opacity: 0.5; 93 | } 94 | -------------------------------------------------------------------------------- /themes/code/style/vs/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/vs.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/vs/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Visual Studio-like style based on original C# coloring by Jason Diamond 4 | 5 | */ 6 | .hljs { 7 | display: block; 8 | overflow-x: auto; 9 | padding: 0.5em; 10 | background: white; 11 | color: black; 12 | -webkit-text-size-adjust: none; 13 | } 14 | 15 | .hljs-comment, 16 | .hljs-annotation, 17 | .diff .hljs-header, 18 | .hljs-chunk, 19 | .apache .hljs-cbracket { 20 | color: #008000; 21 | } 22 | 23 | .hljs-keyword, 24 | .hljs-id, 25 | .hljs-built_in, 26 | .smalltalk .hljs-class, 27 | .hljs-winutils, 28 | .bash .hljs-variable, 29 | .tex .hljs-command, 30 | .hljs-request, 31 | .hljs-status, 32 | .nginx .hljs-title, 33 | .xml .hljs-tag, 34 | .xml .hljs-tag .hljs-value { 35 | color: #00f; 36 | } 37 | 38 | .hljs-string, 39 | .hljs-title, 40 | .hljs-parent, 41 | .hljs-tag .hljs-value, 42 | .hljs-rule .hljs-value, 43 | .ruby .hljs-symbol, 44 | .ruby .hljs-symbol .hljs-string, 45 | .hljs-template_tag, 46 | .django .hljs-variable, 47 | .hljs-addition, 48 | .hljs-flow, 49 | .hljs-stream, 50 | .apache .hljs-tag, 51 | .hljs-date, 52 | .tex .hljs-formula, 53 | .coffeescript .hljs-attribute, 54 | .hljs-name { 55 | color: #a31515; 56 | } 57 | 58 | .ruby .hljs-string, 59 | .hljs-decorator, 60 | .hljs-filter .hljs-argument, 61 | .hljs-localvars, 62 | .hljs-array, 63 | .hljs-attr_selector, 64 | .hljs-pseudo, 65 | .hljs-pi, 66 | .hljs-doctype, 67 | .hljs-deletion, 68 | .hljs-envvar, 69 | .hljs-shebang, 70 | .hljs-preprocessor, 71 | .hljs-pragma, 72 | .userType, 73 | .apache .hljs-sqbracket, 74 | .nginx .hljs-built_in, 75 | .tex .hljs-special, 76 | .hljs-prompt { 77 | color: #2b91af; 78 | } 79 | 80 | .hljs-doctag, 81 | .hljs-xmlDocTag { 82 | color: #808080; 83 | } 84 | 85 | .hljs-type, 86 | .hljs-typename { font-weight: bold; } 87 | 88 | .vhdl .hljs-string { color: #666666; } 89 | .vhdl .hljs-literal { color: #a31515; } 90 | .vhdl .hljs-attribute { color: #00b0e8; } 91 | 92 | .xml .hljs-attribute { color: #f00; } 93 | -------------------------------------------------------------------------------- /themes/code/style/xcode/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/xcode.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/xcode/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | XCode style (c) Angel Garcia 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #fff; 12 | color: black; 13 | -webkit-text-size-adjust: none; 14 | } 15 | 16 | .hljs-comment { 17 | color: #006a00; 18 | } 19 | 20 | .hljs-keyword, 21 | .hljs-literal, 22 | .nginx .hljs-title { 23 | color: #aa0d91; 24 | } 25 | .method, 26 | .hljs-list .hljs-title, 27 | .hljs-tag .hljs-title, 28 | .setting .hljs-value, 29 | .hljs-winutils, 30 | .tex .hljs-command, 31 | .http .hljs-title, 32 | .hljs-request, 33 | .hljs-status, 34 | .hljs-name { 35 | color: #008; 36 | } 37 | 38 | .hljs-envvar, 39 | .tex .hljs-special { 40 | color: #660; 41 | } 42 | 43 | .hljs-string { 44 | color: #c41a16; 45 | } 46 | .hljs-tag .hljs-value, 47 | .hljs-cdata, 48 | .hljs-filter .hljs-argument, 49 | .hljs-attr_selector, 50 | .apache .hljs-cbracket, 51 | .hljs-date, 52 | .hljs-regexp { 53 | color: #080; 54 | } 55 | 56 | .hljs-sub .hljs-identifier, 57 | .hljs-pi, 58 | .hljs-tag, 59 | .hljs-tag .hljs-keyword, 60 | .hljs-decorator, 61 | .ini .hljs-title, 62 | .hljs-shebang, 63 | .hljs-prompt, 64 | .hljs-hexcolor, 65 | .hljs-rule .hljs-value, 66 | .hljs-symbol, 67 | .hljs-symbol .hljs-string, 68 | .hljs-number, 69 | .css .hljs-function, 70 | .hljs-function .hljs-title, 71 | .coffeescript .hljs-attribute { 72 | color: #1c00cf; 73 | } 74 | 75 | .hljs-class .hljs-title, 76 | .smalltalk .hljs-class, 77 | .hljs-type, 78 | .hljs-typename, 79 | .hljs-tag .hljs-attribute, 80 | .hljs-doctype, 81 | .hljs-class .hljs-id, 82 | .hljs-built_in, 83 | .setting, 84 | .hljs-params, 85 | .clojure .hljs-attribute { 86 | color: #5c2699; 87 | } 88 | 89 | .hljs-variable { 90 | color: #3f6e74; 91 | } 92 | .css .hljs-tag, 93 | .hljs-rule .hljs-property, 94 | .hljs-pseudo, 95 | .hljs-subst { 96 | color: #000; 97 | } 98 | 99 | .css .hljs-class, 100 | .css .hljs-id { 101 | color: #9b703f; 102 | } 103 | 104 | .hljs-value .hljs-important { 105 | color: #ff7700; 106 | font-weight: bold; 107 | } 108 | 109 | .hljs-rule .hljs-keyword { 110 | color: #c5af75; 111 | } 112 | 113 | .hljs-annotation, 114 | .apache .hljs-sqbracket, 115 | .nginx .hljs-built_in { 116 | color: #9b859d; 117 | } 118 | 119 | .hljs-preprocessor, 120 | .hljs-preprocessor *, 121 | .hljs-pragma { 122 | color: #643820; 123 | } 124 | 125 | .tex .hljs-formula { 126 | background-color: #eee; 127 | font-style: italic; 128 | } 129 | 130 | .diff .hljs-header, 131 | .hljs-chunk { 132 | color: #808080; 133 | font-weight: bold; 134 | } 135 | 136 | .diff .hljs-change { 137 | background-color: #bccff9; 138 | } 139 | 140 | .hljs-addition { 141 | background-color: #baeeba; 142 | } 143 | 144 | .hljs-deletion { 145 | background-color: #ffc8bd; 146 | } 147 | 148 | .hljs-comment .hljs-doctag { 149 | font-weight: bold; 150 | } 151 | 152 | .method .hljs-id { 153 | color: #000; 154 | } 155 | -------------------------------------------------------------------------------- /themes/code/style/zenburn/network.url: -------------------------------------------------------------------------------- 1 | http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/zenburn.min.css 2 | -------------------------------------------------------------------------------- /themes/code/style/zenburn/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Zenburn style from voldmar.ru (c) Vladimir Epifanov 4 | based on dark.css by Ivan Sagalaev 5 | 6 | */ 7 | 8 | .hljs { 9 | display: block; 10 | overflow-x: auto; 11 | padding: 0.5em; 12 | background: #3f3f3f; 13 | color: #dcdcdc; 14 | -webkit-text-size-adjust: none; 15 | } 16 | 17 | .hljs-keyword, 18 | .hljs-tag, 19 | .css .hljs-class, 20 | .css .hljs-id, 21 | .lisp .hljs-title, 22 | .nginx .hljs-title, 23 | .hljs-request, 24 | .hljs-status, 25 | .clojure .hljs-attribute { 26 | color: #e3ceab; 27 | } 28 | 29 | .django .hljs-template_tag, 30 | .django .hljs-variable, 31 | .django .hljs-filter .hljs-argument { 32 | color: #dcdcdc; 33 | } 34 | 35 | .hljs-number, 36 | .hljs-date { 37 | color: #8cd0d3; 38 | } 39 | 40 | .dos .hljs-envvar, 41 | .dos .hljs-stream, 42 | .hljs-variable, 43 | .apache .hljs-sqbracket, 44 | .hljs-name { 45 | color: #efdcbc; 46 | } 47 | 48 | .dos .hljs-flow, 49 | .diff .hljs-change, 50 | .python .exception, 51 | .python .hljs-built_in, 52 | .hljs-literal, 53 | .tex .hljs-special { 54 | color: #efefaf; 55 | } 56 | 57 | .diff .hljs-chunk, 58 | .hljs-subst { 59 | color: #8f8f8f; 60 | } 61 | 62 | .dos .hljs-keyword, 63 | .hljs-decorator, 64 | .hljs-title, 65 | .hljs-type, 66 | .diff .hljs-header, 67 | .ruby .hljs-class .hljs-parent, 68 | .apache .hljs-tag, 69 | .nginx .hljs-built_in, 70 | .tex .hljs-command, 71 | .hljs-prompt { 72 | color: #efef8f; 73 | } 74 | 75 | .dos .hljs-winutils, 76 | .ruby .hljs-symbol, 77 | .ruby .hljs-symbol .hljs-string, 78 | .ruby .hljs-string { 79 | color: #dca3a3; 80 | } 81 | 82 | .diff .hljs-deletion, 83 | .hljs-string, 84 | .hljs-tag .hljs-value, 85 | .hljs-preprocessor, 86 | .hljs-pragma, 87 | .hljs-built_in, 88 | .smalltalk .hljs-class, 89 | .smalltalk .hljs-localvars, 90 | .smalltalk .hljs-array, 91 | .css .hljs-rule .hljs-value, 92 | .hljs-attr_selector, 93 | .hljs-pseudo, 94 | .apache .hljs-cbracket, 95 | .tex .hljs-formula, 96 | .coffeescript .hljs-attribute { 97 | color: #cc9393; 98 | } 99 | 100 | .hljs-shebang, 101 | .diff .hljs-addition, 102 | .hljs-comment, 103 | .hljs-annotation, 104 | .hljs-pi, 105 | .hljs-doctype { 106 | color: #7f9f7f; 107 | } 108 | 109 | .coffeescript .javascript, 110 | .javascript .xml, 111 | .tex .hljs-formula, 112 | .xml .javascript, 113 | .xml .vbscript, 114 | .xml .css, 115 | .xml .hljs-cdata { 116 | opacity: 0.5; 117 | } 118 | 119 | -------------------------------------------------------------------------------- /themes/markdown/black/README.md: -------------------------------------------------------------------------------- 1 | # Markdown css theme collection 2 | 3 | * [Light](http://jasonm23.github.com/markdown-css-themes/index.html) 4 | * [Foghorn](http://jasonm23.github.com/markdown-css-themes/foghorn.html) 5 | * [Swiss](http://jasonm23.github.com/markdown-css-themes/swiss.html) 6 | 7 | Do what you want with them... 8 | 9 | # Contributing 10 | 11 | Go ahead and fork, make a copy of the index.html and add/edit a css, throw them in a jsfiddle, and send a pull request along with the jsfiddle link so I can review them. 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /themes/markdown/black/network.url: -------------------------------------------------------------------------------- 1 | https://cdn.jsdelivr.net/gh/jasonm23/markdown-css-themes@gh-pages/markdown1.css 2 | -------------------------------------------------------------------------------- /themes/markdown/dirt/README.md: -------------------------------------------------------------------------------- 1 | # Markdown css theme collection 2 | 3 | * [Light](http://jasonm23.github.com/markdown-css-themes/index.html) 4 | * [Foghorn](http://jasonm23.github.com/markdown-css-themes/foghorn.html) 5 | * [Swiss](http://jasonm23.github.com/markdown-css-themes/swiss.html) 6 | 7 | Do what you want with them... 8 | 9 | # Contributing 10 | 11 | Go ahead and fork, make a copy of the index.html and add/edit a css, throw them in a jsfiddle, and send a pull request along with the jsfiddle link so I can review them. 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /themes/markdown/dirt/network.url: -------------------------------------------------------------------------------- 1 | https://cdn.jsdelivr.net/gh/jasonm23/markdown-css-themes@gh-pages/screen.css 2 | -------------------------------------------------------------------------------- /themes/markdown/dirt/style.css: -------------------------------------------------------------------------------- 1 | html { font-size: 62.5%; } 2 | html, body { height: 100%; } 3 | 4 | body { 5 | font-family: Helvetica, Arial, sans-serif; 6 | font-size: 150%; 7 | line-height: 1.3; 8 | color: #f6e6cc; 9 | width: 700px; 10 | margin: auto; 11 | background: #27221a; 12 | position: relative; 13 | padding: 0 30px; 14 | } 15 | 16 | p,ul,ol,dl,table,pre { margin-bottom: 1em; } 17 | ul { margin-left: 20px; } 18 | a { text-decoration: none; cursor: pointer; color: #ba832c; font-weight: bold; } 19 | a:focus { outline: 1px dotted; } 20 | a:visited { } 21 | a:hover, a:focus { color: #d3a459; text-decoration: none; } 22 | a *, button * { cursor: pointer; } 23 | hr { display: none; } 24 | small { font-size: 90%; } 25 | input, select, button, textarea, option { font-family: Arial, "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif; font-size: 100%; } 26 | button, label, select, option, input[type=submit] { cursor: pointer; } 27 | .group:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } .group {display: inline-block;} 28 | /* Hides from IE-mac \*/ * html .group {height: 1%;} .group {display: block;} /* End hide from IE-mac */ 29 | sup { font-size: 80%; line-height: 1; vertical-align: super; } 30 | button::-moz-focus-inner { border: 0; padding: 1px; } 31 | span.amp { font-family: Baskerville, "Goudy Old Style", "Palatino", "Book Antiqua", serif; font-weight: normal; font-style: italic; font-size: 1.2em; line-height: 0.8; } 32 | 33 | h1,h2,h3,h4,h5,h6 { 34 | line-height: 1.1; 35 | font-family: Baskerville, "Goudy Old Style", "Palatino", "Book Antiqua", serif; 36 | } 37 | 38 | h2 { font-size: 22pt; } 39 | h3 { font-size: 20pt; } 40 | h4 { font-size: 18pt; } 41 | h5 { font-size: 16pt; } 42 | h6 { font-size: 14pt; } 43 | 44 | ::selection { background: #745626; } 45 | ::-moz-selection { background: #745626; } 46 | 47 | h1 { 48 | font-size: 420%; 49 | margin: 0 0 0.1em; 50 | font-family: Baskerville, "Goudy Old Style", "Palatino", "Book Antiqua", serif; 51 | } 52 | 53 | h1 a, 54 | h1 a:hover { 55 | color: #d7af72; 56 | font-weight: normal; 57 | text-decoration: none; 58 | } 59 | 60 | pre { 61 | background: rgba(0,0,0,0.3); 62 | color: #fff; 63 | padding: 8px 10px; 64 | border-radius: 0.4em; 65 | -moz-border-radius: 0.4em; 66 | -webkit-border-radius: 0.4em; 67 | overflow-x: hidden; 68 | } 69 | 70 | pre code { 71 | font-size: 10pt; 72 | } 73 | 74 | .thumb { 75 | float:left; 76 | margin: 10px; 77 | } 78 | -------------------------------------------------------------------------------- /themes/markdown/foghorn/README.md: -------------------------------------------------------------------------------- 1 | # Markdown css theme collection 2 | 3 | * [Light](http://jasonm23.github.com/markdown-css-themes/index.html) 4 | * [Foghorn](http://jasonm23.github.com/markdown-css-themes/foghorn.html) 5 | * [Swiss](http://jasonm23.github.com/markdown-css-themes/swiss.html) 6 | 7 | Do what you want with them... 8 | 9 | # Contributing 10 | 11 | Go ahead and fork, make a copy of the index.html and add/edit a css, throw them in a jsfiddle, and send a pull request along with the jsfiddle link so I can review them. 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /themes/markdown/foghorn/network.url: -------------------------------------------------------------------------------- 1 | https://cdn.jsdelivr.net/gh/jasonm23/markdown-css-themes@gh-pages/foghorn.css 2 | -------------------------------------------------------------------------------- /themes/markdown/foghorn/style.css: -------------------------------------------------------------------------------- 1 | @import url(http://fonts.googleapis.com/css?family=Vollkorn:400,400italic,700,700italic&subset=latin); 2 | 3 | html, body { 4 | padding:1em; 5 | margin:auto; 6 | max-width:42em; 7 | background:#fefefe; 8 | } 9 | body { 10 | font: 1.3em "Vollkorn", Palatino, Times; 11 | color: #333; 12 | line-height: 1.4; 13 | text-align: justify; 14 | } 15 | header, nav, article, footer { 16 | width: 700px; 17 | margin:0 auto; 18 | } 19 | article { 20 | margin-top: 4em; 21 | margin-bottom: 4em; 22 | min-height: 400px; 23 | } 24 | footer { 25 | margin-bottom:50px; 26 | } 27 | video { 28 | margin: 2em 0; 29 | border:1px solid #ddd; 30 | } 31 | 32 | nav { 33 | font-size: .9em; 34 | font-style: italic; 35 | border-bottom: 1px solid #ddd; 36 | padding: 1em 0; 37 | } 38 | nav p { 39 | margin: 0; 40 | } 41 | 42 | /* Typography 43 | -------------------------------------------------------- */ 44 | 45 | h1 { 46 | margin-top: 0; 47 | font-weight: normal; 48 | } 49 | h2 { 50 | font-weight: normal; 51 | } 52 | h3 { 53 | font-weight: normal; 54 | font-style: italic; 55 | margin-top:3em; 56 | } 57 | p { 58 | margin-top:0; 59 | -webkit-hypens:auto; 60 | -moz-hypens:auto; 61 | hyphens:auto; 62 | } 63 | ul { 64 | list-style: square; 65 | padding-left:1.2em; 66 | } 67 | ol { 68 | padding-left:1.2em; 69 | } 70 | blockquote { 71 | margin-left: 1em; 72 | padding-left: 1em; 73 | border-left: 1px solid #ddd; 74 | } 75 | code { 76 | font-family: "Consolas", "Menlo", "Monaco", monospace, serif; 77 | font-size: .9em; 78 | background: white; 79 | } 80 | a { 81 | color: #2484c1; 82 | text-decoration: none; 83 | } 84 | a:hover { 85 | text-decoration: underline; 86 | } 87 | a img { 88 | border:none; 89 | } 90 | h1 a, h1 a:hover { 91 | color: #333; 92 | text-decoration: none; 93 | } 94 | hr { 95 | color : #ddd; 96 | height : 1px; 97 | margin: 2em 0; 98 | border-top : solid 1px #ddd; 99 | border-bottom : none; 100 | border-left: 0; 101 | border-right: 0; 102 | } 103 | p#heart{ 104 | font-size: 2em; 105 | line-height: 1; 106 | text-align: center; 107 | color: #ccc; 108 | } 109 | .red { 110 | color:#B50000; 111 | } 112 | 113 | /* Home Page 114 | --------------------------- */ 115 | 116 | body#index li { 117 | margin-bottom: 1em; 118 | } 119 | 120 | 121 | /* iPad 122 | -------------------------------------------------------- */ 123 | @media only screen and (max-device-width: 1024px) { 124 | body { 125 | font-size: 120%; 126 | line-height: 1.4; 127 | } 128 | } /* @iPad */ 129 | 130 | /* iPhone 131 | -------------------------------------------------------- */ 132 | @media only screen and (max-device-width: 480px) { 133 | body { 134 | text-align: left; 135 | } 136 | article, footer { 137 | width: auto; 138 | } 139 | article { 140 | padding: 0 10px; 141 | } 142 | } /* @iPhone */ 143 | 144 | -------------------------------------------------------------------------------- /themes/markdown/ghostwriter/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013 Rory Gibson - Released under The MIT License. 2 | 3 | Permission is hereby granted, free of charge, to any person 4 | obtaining a copy of this software and associated documentation 5 | files (the "Software"), to deal in the Software without 6 | restriction, including without limitation the rights to use, 7 | copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the 9 | Software is furnished to do so, subject to the following 10 | conditions: 11 | 12 | The above copyright notice and this permission notice shall be 13 | included in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 19 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /themes/markdown/ghostwriter/README.md: -------------------------------------------------------------------------------- 1 | # Ghostwriter 2 | 3 | Ghostwriter is a simple AJAX driven theme for the [Ghost](http://github.com/tryghost/ghost/) blogging platform released under the MIT License. 4 | 5 | **[View a demo of Ghostwriter](http://ghost.jollygoodthemes.com/ghostwriter/)** 6 | 7 | **[Download Ghostwriter](https://github.com/roryg/ghostwriter/archive/master.zip)** 8 | 9 | **[See more of my themes](http://jollygoodthemes.com)** 10 | 11 | ### Features 12 | 13 | * Supports Ghost 0.5.x 14 | * Clean typography focused design. 15 | * Fully responsive (includes fitvid.js for responsive video embeds). 16 | * AJAX loading for fast, smooth transitions between posts and pages. 17 | * SASS files included. 18 | * Static page support. 19 | * Featured post support. 20 | * A bunch of other bits and bobs. 21 | 22 | ### Troubleshooting 23 | 24 | ###### The Browse Posts link isn't working 25 | 26 | If you're having trouble with the browse posts link not working make sure you're using the currect URL for your environment in your Ghost config.js file. I.e. if your Ghost site is being served on http://your-site-name.com make sure you use exactly that URL in your config.js file and not for example http://www.your-site-name.com 27 | 28 | ### Screenshot 29 | 30 | ![Ghostwriter home page](https://github.com/roryg/ghostwriter/blob/master/screenshot.png?raw=true) 31 | -------------------------------------------------------------------------------- /themes/markdown/ghostwriter/network.url: -------------------------------------------------------------------------------- 1 | https://cdn.jsdelivr.net/gh/roryg/ghostwriter/assets/css/style.css 2 | -------------------------------------------------------------------------------- /themes/markdown/github/license: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) Sindre Sorhus (sindresorhus.com) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /themes/markdown/github/network.url: -------------------------------------------------------------------------------- 1 | https://raw.githack.com/goldsborough/markdownpp/master/themes/markdown/github/style.css?token=AGIcmz9uqd-4bVjM0_DsjDWhFaiOdQ78ks5WPiHiwA%3D%3D 2 | -------------------------------------------------------------------------------- /themes/markdown/github/readme.md: -------------------------------------------------------------------------------- 1 | # github-markdown-css 2 | 3 | > The minimal amount of CSS to replicate the GitHub Markdown style 4 | 5 | [](http://sindresorhus.com/github-markdown-css) 6 | 7 | ## [Demo](http://sindresorhus.com/github-markdown-css) 8 | 9 | 10 | ## Install 11 | 12 | Download [manually](https://raw.githubusercontent.com/sindresorhus/github-markdown-css/gh-pages/github-markdown.css) or with a package-manager. 13 | 14 | ```sh 15 | $ npm install --save github-markdown-css 16 | ``` 17 | 18 | ```sh 19 | $ bower install --save github-markdown-css 20 | ``` 21 | 22 | 23 | ## Usage 24 | 25 | Import the `github-markdown.css` file and add a `markdown-body` class to the container of your rendered Markdown and set a width for it. GitHub uses `790px` width and `30px` padding. 26 | 27 | ```html 28 | 29 | 37 |
38 |

Unicorns

39 |

All the things

40 |
41 | ``` 42 | 43 | 44 | ## How 45 | 46 | See [`generate-github-markdown-css`](https://github.com/sindresorhus/generate-github-markdown-css) for how it's generated and ability to generate your own. 47 | 48 | 49 | ## Dev 50 | 51 | Run `npm run generate` to update the CSS. 52 | 53 | 54 | ## License 55 | 56 | MIT © [Sindre Sorhus](http://sindresorhus.com) 57 | -------------------------------------------------------------------------------- /themes/markdown/solarized-dark/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Thomas Frössman 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /themes/markdown/solarized-dark/README.md: -------------------------------------------------------------------------------- 1 | # Solarized HTML stylesheet 2 | 3 | [![Join the chat at https://gitter.im/thomasf/solarized-css](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/thomasf/solarized-css?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) 4 | 5 | This project aim is to provide general solarized light and dark colorshcemes 6 | for HTML documents that mostly relies on standard HTML elements. 7 | 8 | For examples and some more info, visit the [Solarized-CSS GitHub page](http://thomasf.github.io/solarized-css/) 9 | 10 | ## Specifically targeted integrations 11 | * Org mode HTML exports 12 | * Markdown 13 | * Any HTML document that mostly relies on standard HTML elements. 14 | 15 | ## Development 16 | [Stylus](http://learnboost.github.com/stylus/) is the style language used for building the .css-files. 17 | 18 | To be able to build you need to have [nodejs](http://nodejs.org/) installed. 19 | 20 | To install dependencies, run this from the repository root: 21 | 22 | npm install 23 | 24 | Then you should be able to rebuild using: 25 | 26 | grunt 27 | 28 | -------------------------------------------------------------------------------- /themes/markdown/solarized-dark/network.url: -------------------------------------------------------------------------------- 1 | http://thomasf.github.io/solarized-css/solarized-dark.min.css 2 | -------------------------------------------------------------------------------- /themes/markdown/solarized-light/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Thomas Frössman 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /themes/markdown/solarized-light/README.md: -------------------------------------------------------------------------------- 1 | # Solarized HTML stylesheet 2 | 3 | [![Join the chat at https://gitter.im/thomasf/solarized-css](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/thomasf/solarized-css?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) 4 | 5 | This project aim is to provide general solarized light and dark colorshcemes 6 | for HTML documents that mostly relies on standard HTML elements. 7 | 8 | For examples and some more info, visit the [Solarized-CSS GitHub page](http://thomasf.github.io/solarized-css/) 9 | 10 | ## Specifically targeted integrations 11 | * Org mode HTML exports 12 | * Markdown 13 | * Any HTML document that mostly relies on standard HTML elements. 14 | 15 | ## Development 16 | [Stylus](http://learnboost.github.com/stylus/) is the style language used for building the .css-files. 17 | 18 | To be able to build you need to have [nodejs](http://nodejs.org/) installed. 19 | 20 | To install dependencies, run this from the repository root: 21 | 22 | npm install 23 | 24 | Then you should be able to rebuild using: 25 | 26 | grunt 27 | 28 | -------------------------------------------------------------------------------- /themes/markdown/solarized-light/network.url: -------------------------------------------------------------------------------- 1 | http://thomasf.github.io/solarized-css/solarized-light.min.css 2 | -------------------------------------------------------------------------------- /themes/markdown/witex/README.md: -------------------------------------------------------------------------------- 1 | 2 | ![WiTeX screenshot](https://raw.githubusercontent.com/AndrewBelt/WiTeX/master/screenshot.png) 3 | 4 | # WiTeX 5 | *If Donald Knuth had designed Wikipedia* 6 | 7 | ## Install 8 | If you have a Wikipedia account, open your [Preferences](https://en.wikipedia.org/wiki/Special:Preferences), go to the Appearance tab, and edit the Custom CSS for the Vector skin. 9 | Paste the contents of [`style.css`](https://raw.githubusercontent.com/AndrewBelt/WiTeX/master/style.css) into the editor, and save. 10 | For better alignment of mathematical equations, enable MathML or Mathjax in the Appearance tab. 11 | 12 | Alternatively, you can load the CSS using a browser plugin (such as [Stylish for Firefox](https://addons.mozilla.org/en-US/firefox/addon/stylish/?src=external-userstyleshome) or [Stylish for Chrome](https://chrome.google.com/webstore/detail/fjnbnpbmkenffdnngjfgmeleoegfcffe)) for the domain `https?://*.wikipedia.org`. 13 | 14 | 15 | #### I want the old Wikipedia design back! 16 | While logged in, go to the [edit `vector.css` page](https://en.wikipedia.org/w/index.php?title=Special:MyPage/vector.css&action=edit), delete the contents, and save. -------------------------------------------------------------------------------- /themes/markdown/witex/network.url: -------------------------------------------------------------------------------- 1 | https://cdn.jsdelivr.net/gh/AndrewBelt/WiTeX/style.css 2 | --------------------------------------------------------------------------------