Permalink
Browse files

修改高亮的样式

  • Loading branch information...
1 parent 647bde0 commit 9fcbe9610668346a700e5248dd7414b8999a519d @hjue committed Aug 19, 2014
Showing with 6,718 additions and 3 deletions.
  1. +1 −0 .gitignore
  2. +1 −1 .htaccess
  3. +32 −0 posts/test2.md
  4. +2 −2 settings.php
  5. +906 −0 styles/highlight/CHANGES.md
  6. +24 −0 styles/highlight/LICENSE
  7. +99 −0 styles/highlight/README.md
  8. +101 −0 styles/highlight/README.ru.md
  9. +1 −0 styles/highlight/highlight.pack.js
  10. +141 −0 styles/highlight/styles/arta.css
  11. +53 −0 styles/highlight/styles/ascetic.css
  12. +94 −0 styles/highlight/styles/atelier-dune.dark.css
  13. +94 −0 styles/highlight/styles/atelier-dune.light.css
  14. +94 −0 styles/highlight/styles/atelier-forest.dark.css
  15. +94 −0 styles/highlight/styles/atelier-forest.light.css
  16. +94 −0 styles/highlight/styles/atelier-heath.dark.css
  17. +94 −0 styles/highlight/styles/atelier-heath.light.css
  18. +94 −0 styles/highlight/styles/atelier-lakeside.dark.css
  19. +94 −0 styles/highlight/styles/atelier-lakeside.light.css
  20. +94 −0 styles/highlight/styles/atelier-seaside.dark.css
  21. +94 −0 styles/highlight/styles/atelier-seaside.light.css
  22. +105 −0 styles/highlight/styles/brown_paper.css
  23. BIN styles/highlight/styles/brown_papersq.png
  24. +107 −0 styles/highlight/styles/codepen-embed.css
  25. +167 −0 styles/highlight/styles/color-brewer.css
  26. +105 −0 styles/highlight/styles/dark.css
  27. +152 −0 styles/highlight/styles/default.css
  28. +134 −0 styles/highlight/styles/docco.css
  29. +112 −0 styles/highlight/styles/far.css
  30. +135 −0 styles/highlight/styles/foundation.css
  31. +127 −0 styles/highlight/styles/github.css
  32. +148 −0 styles/highlight/styles/googlecode.css
  33. +169 −0 styles/highlight/styles/hybrid.css
  34. +125 −0 styles/highlight/styles/idea.css
  35. +108 −0 styles/highlight/styles/ir_black.css
  36. +95 −0 styles/highlight/styles/kimbie.dark.css
  37. +95 −0 styles/highlight/styles/kimbie.light.css
  38. +122 −0 styles/highlight/styles/magula.css
  39. +65 −0 styles/highlight/styles/mono-blue.css
  40. +127 −0 styles/highlight/styles/monokai.css
  41. +149 −0 styles/highlight/styles/monokai_sublime.css
  42. +154 −0 styles/highlight/styles/obsidian.css
  43. +94 −0 styles/highlight/styles/paraiso.dark.css
  44. +94 −0 styles/highlight/styles/paraiso.light.css
  45. +108 −0 styles/highlight/styles/pojoaque.css
  46. BIN styles/highlight/styles/pojoaque.jpg
  47. +183 −0 styles/highlight/styles/railscasts.css
  48. +113 −0 styles/highlight/styles/rainbow.css
  49. +113 −0 styles/highlight/styles/school_book.css
  50. BIN styles/highlight/styles/school_book.png
  51. +108 −0 styles/highlight/styles/solarized_dark.css
  52. +108 −0 styles/highlight/styles/solarized_light.css
  53. +163 −0 styles/highlight/styles/sunburst.css
  54. +94 −0 styles/highlight/styles/tomorrow-night-blue.css
  55. +93 −0 styles/highlight/styles/tomorrow-night-bright.css
  56. +93 −0 styles/highlight/styles/tomorrow-night-eighties.css
  57. +94 −0 styles/highlight/styles/tomorrow-night.css
  58. +91 −0 styles/highlight/styles/tomorrow.css
  59. +90 −0 styles/highlight/styles/vs.css
  60. +159 −0 styles/highlight/styles/xcode.css
  61. +118 −0 styles/highlight/styles/zenburn.css
View
@@ -2,6 +2,7 @@ tmp/*
posts/*
!posts/index.html
!posts/justwriting.md
+!posts/test2.md
cache/*
!cache/index.html
View
@@ -3,5 +3,5 @@ order allow,deny
deny from all
</files>
RewriteEngine on
-RewriteCond $1 !^(index\.php|css|posts|images|templates|robots\.txt)
+RewriteCond $1 !^(index\.php|css|styles|posts|images|templates|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
View
@@ -0,0 +1,32 @@
+Date: 2014-08-11
+Title: 测试代码高亮的数学公式
+intro:用于测试
+Tags: 测试 test
+Status: public
+
+
+
+测试一下数学公式和尾注[^LaTeX]:
+
+$$E=mc^2$$
+
+支持 **LaTeX** 编辑显示支持,例如:$\sum_{i=1}^n a_i=0$和$[((n-k)/i+m)]$, 访问 [MathJax][4] 参考更多使用方法。
+
+
+
+
+```
+POST /task?id=1 HTTP/1.1
+Host: example.org
+Content-Type: application/json; charset=utf-8
+Content-Length: 137
+
+{
+ "status": "ok",
+ "extended": true,
+ "results": [
+ {"value": 0, "type": "int64"},
+ {"value": 1.0e+3, "type": "decimal"}
+ ]
+}
+```
View
@@ -31,8 +31,8 @@
$blog_config['dropbox']['access_token']= '';
//代码高亮的配置,不需要的话可以设置为空
-$blog_config['highlight']='<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.1/styles/default.min.css">
-<script src="http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.1/highlight.min.js"></script>
+$blog_config['highlight']='<link rel="stylesheet" href="/styles/highlight/styles/monokai_sublime.css">
+<script src="/styles/highlight/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>';
//数学公式的支持
$blog_config['mathjax']='<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=default">
Oops, something went wrong.

0 comments on commit 9fcbe96

Please sign in to comment.