mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-27 21:44:21 -04:00
Introduce Markdown extensions (#1614)
* Introduce markdown extensions Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
e9defd60dc
commit
8a8bacc0aa
148 changed files with 1878 additions and 1128 deletions
|
@ -14,13 +14,13 @@ describe('Quote extra tags', function () {
|
|||
cy.setCodemirrorContent('[name=testy mctestface]')
|
||||
|
||||
cy.getMarkdownBody()
|
||||
.find('.quote-extra')
|
||||
.find('.blockquote-extra')
|
||||
.should('be.visible')
|
||||
.find('.fa-user')
|
||||
.should('be.visible')
|
||||
|
||||
cy.getMarkdownBody()
|
||||
.find('.quote-extra')
|
||||
.find('.blockquote-extra')
|
||||
.should('be.visible')
|
||||
.contains('testy mctestface')
|
||||
})
|
||||
|
@ -31,13 +31,13 @@ describe('Quote extra tags', function () {
|
|||
cy.setCodemirrorContent(`[time=always]`)
|
||||
|
||||
cy.getMarkdownBody()
|
||||
.find('.quote-extra')
|
||||
.find('.blockquote-extra')
|
||||
.should('be.visible')
|
||||
.find('.fa-clock-o')
|
||||
.should('be.visible')
|
||||
|
||||
cy.getMarkdownBody()
|
||||
.find('.quote-extra')
|
||||
.find('.blockquote-extra')
|
||||
.should('be.visible')
|
||||
.contains('always')
|
||||
})
|
||||
|
@ -48,13 +48,13 @@ describe('Quote extra tags', function () {
|
|||
cy.setCodemirrorContent(`[color=#b51f08]`)
|
||||
|
||||
cy.getMarkdownBody()
|
||||
.find('.quote-extra')
|
||||
.find('.blockquote-extra')
|
||||
.should('be.visible')
|
||||
.find('.fa-tag')
|
||||
.should('be.visible')
|
||||
|
||||
cy.getMarkdownBody()
|
||||
.find('.quote-extra')
|
||||
.find('.blockquote-extra')
|
||||
.should('be.visible')
|
||||
.should('have.css', 'color', 'rgb(181, 31, 8)')
|
||||
})
|
||||
|
@ -63,7 +63,7 @@ describe('Quote extra tags', function () {
|
|||
cy.setCodemirrorContent(`> [color=#b51f08] HedgeDoc`)
|
||||
|
||||
cy.getMarkdownBody()
|
||||
.find('.quote-extra')
|
||||
.find('.blockquote-extra')
|
||||
.should('not.exist')
|
||||
|
||||
cy.getMarkdownBody()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue