diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-04-26 21:27:01 +0300 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-04-26 22:15:23 +0300 |
commit | 8d8fbd145eda7d44d00d5e6b18a96990afd904d3 (patch) | |
tree | e54abf9376057cb5bd4715308a02cfec8d10e415 /templates/main.php | |
parent | 7bc7d284df31ba3b39bd537a7377ccd030edd079 (diff) |
add back markdown support, enable syntax highlightning, images and github flavored markdown
add styling for tables
use ng-if to not create markdown if it is not visible
Diffstat (limited to 'templates/main.php')
-rw-r--r-- | templates/main.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/main.php b/templates/main.php index dc5369e3..44a0c79a 100644 --- a/templates/main.php +++ b/templates/main.php @@ -8,7 +8,8 @@ script('notes', [ - 'vendor/markdown/lib/markdown', + 'vendor/highlightjs/highlight.pack', + 'vendor/marked/marked.min', 'vendor/bootstrap/tooltip', 'vendor/angular/angular', 'vendor/angular-route/angular-route', @@ -18,6 +19,7 @@ script('notes', [ ]); style('notes', [ + '../js/vendor/highlightjs/styles/github', 'vendor/bootstrap/tooltip', 'notes' ]); |