You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider the following example (note there are three space characters before the list item text item):
-[ ] item
- item
Below is the parsed syntax tree data. As you can see, in the task list item, two space characters are preserved before the text, while in the regular list item, all leading whitespace is trimmed:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Consider the following example (note there are three space characters before the list item text
item):Below is the parsed syntax tree data. As you can see, in the task list item, two space characters are preserved before the text, while in the regular list item, all leading whitespace is trimmed:
{ "type": "root", "children": [ { "type": "list", "children": [ { "type": "listItem", "children": [ { "type": "paragraph", "children": [ { "type": "text", "value": " item" } ] } ] }, { "type": "listItem", "children": [ { "type": "paragraph", "children": [ { "type": "text", "value": "item" } ] } ] } ] } ] }I'm not sure what causes this inconsistency or whether it should be fixed. Any insights would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions