Tons of Markdown fixes, improvements, and cleanup by nattheriddle1 · Pull Request #151 · webpy/webpy.github.com · GitHub
Skip to content

Tons of Markdown fixes, improvements, and cleanup#151

Open
nattheriddle1 wants to merge 13 commits into
webpy:masterfrom
nattheriddle1:master
Open

Tons of Markdown fixes, improvements, and cleanup#151
nattheriddle1 wants to merge 13 commits into
webpy:masterfrom
nattheriddle1:master

Conversation

@nattheriddle1

Copy link
Copy Markdown

These changes massively improve the Markdown files, both for people browsing the live website and the GitHub repository.

For people browsing the live website, the changes fix the widespread problem of Markdown headings not rendering, as well as generally reducing awkward inconsistencies like extra spacing around punctuation, or too many/few dots in ellipses (...).

For people browsing or contributing to the GitHub repository, the changes also make the Markdown files more consistent with each other and with commonly accepted Markdown conventions, which makes it more straightforward for future contributors to analyze and edit them.

I've tried to explain my reasoning behind each commit in their descriptions.

Before, empty anchor tags with name attributes were placed before headings, so other anchor tags could target and automatically scroll to the heading when clicked.

However, this functionality can and should be implemented by giving the headings ID attributes instead. This is more concise, easier to maintain, and a more proper use of HTML5.
Markdown syntax is more concise and should be preferred over inline HTML.
Many of the headings on the website were broken, as many of the headings lacked a space after the hashtags, which many Markdown renderers require.
Markdown syntax is more concise and should be preferred over inline HTML.
Markdown syntax is more concise and should be preferred over inline HTML.
Markdown syntax is more concise and should be preferred over inline HTML.
Markdown ignores more than 2 newlines in a row.
Standardized number of dots in ellipses and surrounding spacing.
Removed spaces, added colons, and capitalized where necessary.
Markdown headings should be followed by 1 blank line, especially before indented code blocks.
Markdown list delimiters need only be followed by one space.
Replaced repeated hyphens and asterisks with triple hyphens. Replaced triple hyphens after a heading with more traditional Markdown headings. Replaced triple tildes for code blocks with triple backticks.
Made ordered list delimiters sequential. Converted unordered list delimiters to asterisks. Made quotation list citation scheme consistent across languages.
@iredmail

iredmail commented Aug 5, 2022

Copy link
Copy Markdown
Contributor

@cclauss

cclauss commented Aug 5, 2022

Copy link
Copy Markdown
Contributor

Pull requests that touch 100+ files always scare me as a reviewer but this looks good at first glance.

@nattheriddle1

Copy link
Copy Markdown
Author

@snan snan mentioned this pull request Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants