THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Browse Source

lib: Upgrade marked to v0.5.0

See: https://github.com/markedjs/marked/releases/tag/v0.5.0
tags/v1.11.0
Suwon Chae 1 year ago
parent
commit
818f70c5ed
3 changed files with 1306 additions and 1013 deletions
  1. +6
    -1
      app/assets/stylesheets/less/_markdown.less
  2. +1
    -0
      app/utils/Markdown.java
  3. +1299
    -1012
      public/javascripts/lib/marked.js

+ 6
- 1
app/assets/stylesheets/less/_markdown.less View File

@@ -153,6 +153,11 @@ code {
li > img {
max-width:80%;
}

li > input[type='checkbox'] {
vertical-align: baseline;
position: relative;
}
img{
max-width:100%;
@@ -168,7 +173,7 @@ code {
list-style:disc;
}

li{
li {
line-height: 1.6em;
}



+ 1
- 0
app/utils/Markdown.java View File

@@ -135,6 +135,7 @@ public class Markdown {
+ " gfm: true, "
+ " tables: true, "
+ " breaks: true, "
+ " headerIds: true, "
+ " pedantic: false, "
+ " sanitize: false, "
+ " smartLists: true "


+ 1299
- 1012
public/javascripts/lib/marked.js
File diff suppressed because it is too large
View File


Loading…
Cancel
Save