1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

- add data-line attribute to definition lists and lists

- add tests
This commit is contained in:
Baptiste Augrain
2018-09-17 22:46:20 +02:00
parent 15b9f8e13f
commit 76928e43a3
6 changed files with 156 additions and 20 deletions

View File

@@ -50,11 +50,68 @@ const smartQuotes = 'This is a "QUOTE".'
const breaks = 'This is the first line.\nThis is the second line.'
const abbrevations = `
## abbr
The HTML specification
is maintained by the W3C.
*[HTML]: Hyper Text Markup Language
*[W3C]: World Wide Web Consortium
`
const subTexts = `
## sub
H~2~0
`
const supTexts = `
## sup
29^th^
`
const deflists = `
## definition list
### list 1
Term 1
~ Definition 1
Term 2
~ Definition 2a
~ Definition 2b
Term 3
~
### list 2
Term 1
: Definition 1
Term 2 with *inline markup*
: Definition 2
{ some code, part of Definition 2 }
Third paragraph of definition 2.
`
export default {
basic,
codeblock,
katex,
checkboxes,
smartQuotes,
breaks
breaks,
abbrevations,
subTexts,
supTexts,
deflists
}