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
in test the method it_generates_equivalent_table_markdown:
let original_table_markdown = indoc!(
"|1 |2 |3 |4 |5 |6 |7 |
| :---------------: | :--------------------: | :------: | :------: | :-----------: | :--------: | :------: |
| col 3 is | col 3 is | col 3 is | col 3 is | col 3 is | col 3 is | col 3 is |
| col 3 is | col 3 is | col 3 is | col 3 is | col 3 is | col 3 is | col 3 is |
| col 3 is | col 3 is | col 3 is | col 3 is | col 3 is | col 3 is | col 3 is |
| col 3 is | col 3 is | col 3 is | col 3 is | col 3 is | col 3 is | col 3 is |
| col 3 is | col 3 is | col 3 is | col 3 is | col 3 is | col 3 is | col 3 is |
| col 3 is | col 3 is | col 3 is | col 3 is | col 3 is | col 3 is | |"
);
will remove '-',only ':' exists,like this:
in test the method it_generates_equivalent_table_markdown:
let original_table_markdown = indoc!(
"|1 |2 |3 |4 |5 |6 |7 |
| :---------------: | :--------------------: | :------: | :------: | :-----------: | :--------: | :------: |
| col 3 is | col 3 is | col 3 is | col 3 is | col 3 is | col 3 is | col 3 is |
| col 3 is | col 3 is | col 3 is | col 3 is | col 3 is | col 3 is | col 3 is |
| col 3 is | col 3 is | col 3 is | col 3 is | col 3 is | col 3 is | col 3 is |
| col 3 is | col 3 is | col 3 is | col 3 is | col 3 is | col 3 is | col 3 is |
| col 3 is | col 3 is | col 3 is | col 3 is | col 3 is | col 3 is | col 3 is |
| col 3 is | col 3 is | col 3 is | col 3 is | col 3 is | col 3 is | |"
);
will remove '-',only ':' exists,like this:
The text was updated successfully, but these errors were encountered: