-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add script to fix markdown table formatting #2
base: master
Are you sure you want to change the base?
Conversation
Looks good. What happens if I input
Does this occur at all (cells starting with line breaks)? Probably not that important though 🤷♂️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Thought about counting the occurrences of | in the (non-broken) table header. But taking a closer look, this doesn't happen at all - cell borders and cell content ar always separated with white space. Tables broken to this extend wouldn't be this easy to fix automatically. |
So this script will be run on wiki pages that are still in markdown only? How many of those are there? I was under the impression the majority was already converted. |
Unfortunately, the contrary is true. Most pages are not converted. Only those which were edited by some member before and probably not even here all were converted. |
Ok, so part of the link-migration process is
? |
We should swap step 2 and 3 in order to make sure nothing weird happens to the links during conversion. But besides that, this is the gameplan. |
cfde4b6
to
32dea1e
Compare
A Python script that takes XWiki-Markdown 1.2 code and corrects formatting issues within tables by clearing out line breaks that harm the table layout