forked from FokkeZB/J2M
-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Original issue: chintans1/markdown-to-jira#10
I tested with version 3.0
This:
| Header 1 | Header 2 | Header 3 |
|-----|-----|-----|
| A | B | C |
| D | E | F |
Unfortunaltely is not properly converted to this:
|| Header 1 || Header 2 || Header 3 ||
| A | B | C |
| D | E | F |
This result is given instead:
| Header 1 | Header 2 | Header 3 |
|-----|-----|-----|
| A | B | C |
| D | E | F |
My test script:
import jira2md from "jira2md";
const test = "this is a simple table\n" +
"\n" +
"| Schema Hint | Value |\n" +
"| ----------------- | ----- |\n" +
"| autosar_4-3-0.xsd | 4.3.0 |\n" +
"| autosar_4-3-1.xsd | 4.3.1 |\n" +
"| autosar_4-4-0.xsd | 4.4.0 |"
const result = jira2md.to_jira(test);
console.info(result)Result:
this is a simple table
| Schema Hint | Value |
| ----------------- | ----- |
| autosar_4-3-0.xsd | 4.3.0 |
| autosar_4-3-1.xsd | 4.3.1 |
| autosar_4-4-0.xsd | 4.4.0 |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels