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
Given source text includes a valid Markdown table
When calling parse with source text
Then rendered table includes <tbody> in cell 1
And has extra row at bottom
Environment
Node.js v20.12.0
marked v13.0.3
marked-terminal v7.4.0
Example
Code:
import{Marked}from'marked';import{markedTerminal}from'marked-terminal';constbody=`| Character Name | Hometown | Description ||----------------|-----------------|-------------------------------------------|| Aria Windwalker| Elmridge | A swift and agile archer from the woods || Thorne Ironfist| Stonekeep | A strong warrior from a mountain fortress || Lyra Moonshade | Sunhaven | A cunning sorceress from a desert city |`;// @ts-ignoreconstm=newMarked(markedTerminal());console.log(m.parse(body));
Problem
Description
Environment
Example
Code:
Console:
Possible Cause
marked-terminal/index.js
Line 231 in e8f60dd
Removing this line seemed to resolve the issues.
The text was updated successfully, but these errors were encountered: