Support multiline markup, to an extent #9

Merged
nbsp merged 1 commits from multiline into master 2022-07-08 12:14:17 +00:00
Owner

works:

$[spin line1
line2
]

$[spin
line1
line2]

doesn't work:

$[spin line1

line2]

this is because this markup is inline, and a double newline tells Marked to split into two <p> tags. it's inconsistent with current MFM but it makes more sense, markdown-wise? I don't know how to go about this

closes #2

works: ``` $[spin line1 line2 ] $[spin line1 line2] ``` doesn't work: ``` $[spin line1 line2] ``` this is because this markup is *inline*, and a double newline tells Marked to split into two `<p>` tags. it's inconsistent with current MFM but it makes more sense, markdown-wise? I don't know how to go about this closes #2
nbsp added 1 commit 2022-07-08 11:50:22 +00:00
nbsp merged commit f19d22dc89 into master 2022-07-08 12:14:17 +00:00
nbsp deleted branch multiline 2022-07-08 12:14:18 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: nbsp/marked-mfm#9
No description provided.