Debian Codegraph @

docs/contributing.md

raw
1 # Contributing to Python-Markdown
2
3 The following is a set of guidelines for contributing to Python-Markdown and its
4 extensions, which are hosted in the [Python-Markdown Organization] on GitHub.
5 These are mostly guidelines, not rules. Use your best judgment, and feel free to
6 propose changes to this document in a pull request.
7
8 ## Code of Conduct
9
10 This project and everyone participating in it is governed by the
11 [Python-Markdown Code of Conduct]. By participating, you are expected to uphold
12 this code. Please report unacceptable behavior to <[email protected]>.
13
14 ## Project Organization
15
16 The core Python-Markdown code base and any built-in extensions are hosted in the
17 [Python-Markdown/markdown] project on GitHub. Other extensions maintained by the
18 Python-Markdown project may be hosted as separate repositories in the
19 [Python-Markdown Organization] on GitHub and must follow best practices for
20 third-party extensions.
21
22 The [Python-Markdown/markdown] project is organized as follows:
23
24 * Branch `master` should generally be stable and release-ready at all times.
25 * Version branches should be used for bug-fixes back-ported to the most recent
26 MICRO release.
27 * No other branches should be created. Any other branches which exist are
28 preserved for historical reasons only.
29
30 ## Issues
31
32 Feature requests, bug reports, usage questions, and other issues can all be
33 raised on the GitHub [issue tracker].
34
35 When describing issues try to phrase your ticket in terms of the behavior you
36 think needs to change rather than the code you think needs to change.
37
38 Make sure you're running the latest version of Python-Markdown before reporting
39 an issue.
40
41 Search the issue list first for related items. Be sure to check closed issues
42 and pull requests. GitHub's search only checks open issues by default.
43
44 You may want to check the [syntax rules] and/or [Babelmark] to confirm that your
45 expectations align with the rules and/or other implementations of Markdown.
46
47 If reporting a syntax bug, you must provide the minimal input which exhibits the
48 behavior, the actual output and the output you expected. All three items must be
49 provided as textual code blocks (screen-shots are not helpful). It may also be
50 helpful to point to the [syntax rules] which specifically address the area of
51 concern.
52
53 Feature requests will often be closed with a recommendation that they be
54 implemented as third party extensions outside of the core Python-Markdown
55 library. Keeping new feature requests implemented as third party extensions
56 allows us to keep the maintenance overhead of Python-Markdown to a minimum, so
57 that the focus can be on continued stability, bug fixes, and documentation.
58
59 If you intend to submit a fix for your bug or provide an implementation of your
60 feature request, it is not necessary to first open an issue. You can report a
61 bug or make a feature request as part of a pull request. Of course, if you want
62 to receive feedback on how to implement a bug-fix or feature before submitting
63 a solution, then it would be appropriate to open an issue first and ask your
64 questions there.
65
66 Having your issue closed does not necessarily mean the end of a discussion. If
67 you believe your issue has been closed incorrectly, explain why and we'll
68 consider if it needs to be reopened.
69
70 ## Pull Requests
71
72 A pull request often represents the start of a discussion, and does not
73 necessarily need to be the final, finished submission. In fact, if you discover
74 an issue and intend to provide a fix for it, there is no need to open an issue
75 first. You can report the issue and provide the fix together in a pull request.
76
77 All pull requests should be made from your personal fork of the library hosted
78 in your personal GitHub account. Do not create branches on the
79 [Python-Markdown/markdown] project for pull requests. All pull requests should
80 be implemented in a new branch with a unique name. Remember that if you have an
81 outstanding pull request, pushing new commits to the related branch of your
82 GitHub repository will also automatically update the pull request. It may help
83 to review GitHub's documentation on [Creating a pull request from a fork].
84
85 If you are providing a fix for a previously reported issue, you must reference
86 the issue in your commit message. Be sure to prefix the reference with one of
87 GitHub's [action words] which will automatically close the issue when the pull
88 request is merged. For example, `fixes #42` and `closes #42` would be
89 acceptable, whereas `ref #42` would not. Of course, if merging a pull request
90 should not cause an issue to be closed, then the action word should not be
91 included when referencing that issue.
92
93 Before being accepted, each pull request must include the applicable code, new
94 tests of all new features, updated tests for any changed features, documentation
95 updates, and an appropriate update to the changelog. All changes must follow
96 the applicable style guides. Failure to meet any one of the requirements is
97 likely to delay any serious consideration of your pull request and may even
98 cause it to be closed. Of course, if you are in the early stages of development,
99 you may include a note in the pull request acknowledging that it is incomplete
100 along with a request for feedback.
101
102 Pull requests will generally not be accepted if any tests are failing.
103 Therefore, it is recommended that you run the tests before submitting your pull
104 request. After making a pull request, check the build status in the
105 GitHub interface to ensure that all tests are running as expected. If any checks
106 fail, you may push additional commits to your branch. GitHub will add those
107 commits to the pull request and rerun the checks.
108
109 It is generally best not to squash multiple commits and force-push your changes
110 to a pull request. Instead, the maintainers would like to be able to follow the
111 series of commits along with the discussion about those changes as they
112 progress over time. If your pull request is accepted, it will be squashed at
113 that time if deemed appropriate.
114
115 ## AI Contributions
116
117 Contributions to the Python-Markdown project are welcome, including those
118 developed with the assistance of generative AI tools. However, the use of
119 such tools does not change expectations for contributor responsibility,
120 engagement, or code quality. The following apply to all contributions.
121
122 Contributors are responsible for all submitted content, regardless of whether
123 generative AI tools were used.
124
125 Contributors must be able to explain all changes upon request during review.
126
127 Contributors are responsible for ensuring all submitted code complies with
128 Python-Markdown's licensing, regardless of whether generative AI tools were
129 used.
130
131 The pull request process should be collaborative and iterative. Contributors
132 are expected to actively engage with reviewer feedback themselves.
133 Contributors are expected to understand the changes they are proposing, not
134 act as a message courier for a third party. Copying and pasting replies to /
135 from a generative AI tool does not count as engaging with the reviewer. The
136 use of an AI agent to submit a pull request, issue, or comment autonomously
137 is not permitted.
138
139 All code and prose (documentation, commit messages, comments, etc.) must
140 reflect the style and conventions used by the Python-Markdown project (see
141 [Code Style Guide](#code-style-guide), [Documentation Style
142 Guide](#documentation-style-guide), and [Commit Message Style
143 Guide](#commit-message-style-guide) below).
144
145 Maintainers may close issues and pull requests that are not useful or
146 productive, regardless of whether AI tools were used or not. If a contributor
147 repeatedly opens unproductive issues or requests, they may be blocked from
148 contributing to the project as it is disruptive and disrespectful of the
149 maintainers' time.
150
151 !!! Note
152 This policy was largely inspired by the Astropy Project's
153 [Usage of Generative AI] policy.
154
155 ## Style Guides
156
157 In an effort to maintain consistency, Python-Markdown adheres to the following
158 style guides in its code and documentation. A pull request may be rejected if it
159 fails to match the relevant style guides.
160
161 ### Code Style Guide
162
163 Except as noted below, all pull requests should follow Python's standard [PEP8
164 Style Guide] and are run through [Flake8] to ensure that the style guide is
165 followed.
166
167 Legacy code which does not follow the guidelines should only be updated if and
168 when other changes (bug fix, feature addition, etc.) are being made to that
169 section of code. While new features should be given names that follow modern
170 Python naming conventions, existing names should be preserved to avoid backward
171 incompatible changes.
172
173 Line length is limited to a maximum of 119 characters.
174
175 When a line of code does not fit within the line length limit, continuation
176 lines should align elements wrapped inside parentheses, brackets and braces
177 using a *hanging indent*. When using a hanging indent there should be no
178 arguments on the first line and further indentation should be used to clearly
179 distinguish itself as a continuation line. The closing parenthesis, bracket or
180 brace should be on a line by itself and should line up under the first character
181 of the line that starts the multi-line construct.
182
183 ```python
184 my_list = [
185 1, 2, 3,
186 4, 5, 6,
187 ]
188 result = some_function_that_takes_arguments(
189 'a', 'b', 'c',
190 'd', 'e', 'f',
191 )
192 ```
193
194 When the conditional part of an `if`-statement is long enough to require that it
195 be written across multiple lines, extra indentation should be included on the
196 conditional continuation line.
197
198 ```python
199 if (this_is_one_thing
200 and that_is_another_thing):
201 do_something()
202 ```
203
204 ### Documentation Style Guide
205
206 Documentation should be in American English. The tone of the documentation
207 should be simple, plain, objective and well-balanced where possible.
208
209 Keep paragraphs reasonably short.
210
211 With the exception of code blocks, limit line length to 79 characters. You may
212 want to use your editor's tools to automatically hard wrap lines of text.
213
214 Don't use abbreviations such as 'e.g.' but instead use the long form, such as
215 'For example'.
216
217 The documentation is built from the [Markdown] source files in the [`docs`
218 directory][docs directory] by the [MkDocs] static site generator. In addition to
219 the basic Markdown syntax, the following extensions are supported: [extra],
220 [admonition], [smarty], [codehilite], and [toc].
221
222 There are a few conventions you should follow when working on the
223 documentation.
224
225 #### Headers
226
227 Headers should use the hash style. For example:
228
229 ```md
230 ## Some important topic
231 ```
232
233 The underline style should not be used. Don't do this:
234
235 ```md
236 Some important topic
237 ====================
238 ```
239
240 #### Links
241
242 Links should always use the reference style, with the referenced hyperlinks kept
243 at the end of the document.
244
245 ```md
246 Here is a link to [some other thing][other-thing].
247
248 More text...
249
250 [other-thing]: http://example.com/other/thing
251 ```
252
253 This style helps keep the documentation source consistent and readable.
254
255 If you are linking to another document within Python-Markdown's documentation,
256 you should use a relative link, and link to the `.md` suffix. If applicable, it
257 is preferred that the link includes a hash fragment pointing to the specific
258 section of the page. For example:
259
260 ```md
261 [authentication]: reference.md#Markdown
262 ```
263
264 Linking in this style ensures that the links work when browsing the
265 documentation on GitHub. If your Markdown editor makes links clickable, they
266 will work there as well. When the documentation is built, these links will be
267 converted into regular links which point to the built HTML pages.
268
269 #### Notes and Warnings
270
271 If you want to draw attention to a note or warning, use the syntax defined in
272 Python-Markdown's [Admonition Extension]:
273
274 ```md
275 !!! note
276
277 This is the content of the note.
278 ```
279
280 #### Changelog
281
282 Any commit/pull request which changes the behavior of the Markdown library in
283 any way must include an entry in the changelog. If a change only alters the
284 documentation or tooling for the project, then an entry in the changelog is
285 not necessary. The current changelog can be found at `docs/changelog.md`.
286
287 The current changelog follows the format defined at
288 [keepachangelog.com](https://keepachangelog.com/en/1.1.0/). The description of
289 each change should include a reference to the relevant GitHub issue in the
290 format `#123` (where `123` is the issue number).
291
292 Edits to the changelog should generally add entries to the `[unreleased]`
293 version at the top of the log. A pull request should not alter an entry for a
294 previously released version, unless it is editing an error in the notes for
295 that version, or is otherwise expressly deemed appropriate by the project
296 maintainers.
297
298 The current changelog should only document the changes for one MAJOR release and
299 its various MINOR and MICRO releases (see [Versions](#versions) for an
300 explanation of MAJOR, MINOR, and MICRO releases). Older versions from previous
301 series of releases can be found in the archive at `docs/change_log/` and may
302 follow a different format. Note that the archived changelogs are not in the site
303 navigation and are only linked from the [Previous
304 Releases](changelog.md#previous-releases) section of the current changelog.
305
306 ### Commit Message Style Guide
307
308 Use the present tense ("Add feature" not "Added feature").
309
310 Use the imperative mood ("Move item to..." not "Moves item to...").
311
312 Limit the first line to 72 characters or less.
313
314 Reference issues and pull requests liberally after the first line. Include a
315 summary of the changes/additions made without replicating the content of the
316 documentation or changelog. This is where an explanation of the choices made
317 should be found. References to issues and pull requests should only provide the
318 context in which a choice was made. However, the commit should be able to stand
319 on its own.
320
321 ## Development Environment
322
323 To start developing on Python-Markdown is it best to create a [fork] of the
324 project on GitHub. After [cloning your fork] to your local system, you will want
325 to [configure a remote] that points to the upstream repository so that you can
326 [sync changes] made in the original repository with your fork.
327
328 It is recommended that all development be done from within a Python [virtual
329 environment], which isolates any experimental code from the general system. To
330 create a virtual environment, use the following command from the root of the
331 local working copy of your GitHub fork:
332
333 ```sh
334 virtualenv venv
335 ```
336
337 That creates a virtual environment which is contained in the `venv` directory
338 within your local working copy. Note that the repository is configured so that
339 git will ignore any files within a directory named `venv` or `ENV` for this
340 very reason.
341
342 On Posix systems (Linux, BSD, MacOS, etc.), use the following command to
343 activate the environment:
344
345 ```sh
346 source venv/bin/activate
347 ```
348
349 On Windows, use this command instead:
350
351 ```sh
352 venv/Scripts/activate
353 ```
354
355 See the [User Guide] for more information on using virtual environments.
356
357 To be able to run the Markdown library directly while working on it, install the
358 working copy into the environment in [Development Mode] after activating the
359 virtual environment for the first time:
360
361 ```sh
362 pip install -e .
363 ```
364
365 Now any saved changes will immediately be available within the virtual
366 environment.
367
368 You can run the command line script with the following command:
369
370 ```sh
371 python -m markdown
372 ```
373
374 Before building the documentation for the first time, you will need to install
375 some optional dependencies with the command:
376
377 ```sh
378 pip install -e .[docs]
379 ```
380
381 To build the documentation and serve it locally on a development server, run:
382
383 ```sh
384 mkdocs serve
385 ```
386
387 Then point your browser at `http://127.0.0.1:8000/`. For a complete list of
388 options available, view MkDocs' help with the command:
389
390 ```sh
391 mkdocs --help
392 ```
393
394 Before running tests for the first time, you will need to install some optional
395 dependencies with the command:
396
397 ```sh
398 pip install -e .[testing]
399 ```
400
401 And you can directly run the tests with:
402
403 ```sh
404 python -m unittest discover tests
405 ```
406
407 To get a coverage report after running the tests, use these commands instead:
408
409 ```sh
410 coverage run --source=markdown -m unittest discover tests
411 coverage report --show-missing
412 ```
413
414 !!! note
415
416 Some tests require the [PyTidyLib] library, which depends on the [HTML Tidy]
417 library. If you do not have PyTidyLib installed, the tests which depend upon
418 it will be skipped. Given the difficulty in installing the HTML Tidy library
419 on many systems, you may choose to leave both libraries uninstalled and
420 depend on the continuous integration server to run those tests when you
421 submit a pull request.
422
423 The above setup will only run tests against the code in one version of Python.
424 However, Python-Markdown supports multiple versions of Python. Therefore, a
425 [tox] configuration is included in the repository, which includes test
426 environments for all supported Python versions, a [Flake8] test environment, and
427 a spellchecker for the documentation. While it is generally fine to leave those
428 tests for the continuous integration server to run when a pull request is
429 submitted, for more advanced changes, you may want to run those tests locally.
430 To do so, simply install tox:
431
432 ```sh
433 pip install tox
434 ```
435
436 Then, to run all configured test environments, simply call the command `tox`
437 with no arguments. See help (`tox -h`) for more options.
438
439 !!! note
440
441 The tox environments expect that some dependencies are already installed on
442 your system. For example, by default, any Python version specific
443 environment will fail if that version of Python is not installed.
444 Additionally, the tox environments assume that the [HTML Tidy] library is
445 installed and may fail when attempting to install [PyTidyLib] if it is not.
446 Finally, the `spellchecker` environment requires [aspell] and the
447 `aspell-en` dictionary to be installed. Unfortunately, installing those
448 dependencies may differ significantly from system to system and is outside
449 the scope of this guide.
450
451 !!! seealso "See Also"
452
453 Python-Markdown provides [test tools] which simply test Markdown syntax.
454 Understanding those tools will often help in understanding why a test may be
455 failing.
456
457 ## Versions
458
459 Python-Markdown follows the [Python Version Specification] (originally defined
460 in [PEP 440]) and uses the `MAJOR.MINOR.MICRO[.dev#|a#|b#|rc#]` format for
461 identifying releases. The status of the `master` branch should always be
462 identified in the `__version_info__` tuple defined in[`markdown/__meta__.py`]
463 [markdown/__meta__.py]. The contents of that tuple will automatically be
464 converted into a normalized version string which conforms to the
465 [Python Version Specification]. Each time the version is changed, the
466 continuous integration server will run a test to ensure that the current
467 version is in a valid normalized format.
468
469 ### Version Status
470
471 A MAJOR version is in development status when the MINOR version is `0`, the
472 MICRO version is `0`, and the version includes a `dev` segment.
473
474 A MINOR version is in development status when the MINOR version is not `0`, the
475 MICRO version is `0`, and the version includes a `dev` segment.
476
477 At all other times, the code is considered stable and release-ready.
478
479 MAJOR and MINOR releases may or may not get pre-releases (alpha, beta, release
480 candidate, etc.) at the discretion of the project maintainers.
481
482 ### Version Workflow
483
484 Bug fixes may be merged from a pull request to the `master` branch at any time
485 so long as all tests pass, including one or more new tests which would have
486 failed prior to the change.
487
488 New features and backward incompatible changes may only be merged to the
489 `master` branch when the MAJOR and/or MINOR version is in development status
490 pursuant to the [Python Version Specification].
491
492 A separate commit to the `master` branch should be made to bump up the MAJOR
493 and/or MINOR version and set development status. Only then will any pull
494 requests implementing new features or backward incompatible changes be accepted.
495
496 If a bug fix is deemed to be important and the `master` branch is in development
497 status, a back-port of the fix should be committed to a version branch. If the
498 appropriate version branch does not exist, then it should be created and a pull
499 request back-porting the fix made against that branch. The version branch should
500 be named with the most recently released MINOR version. For example, if the
501 `master` branch is at `3.1.dev0` and the most recent MINOR release was `3.0.4`,
502 then the version branch would be named `3.0` and any releases from that branch
503 would increment the MICRO version only (`3.0.5`, `3.0.6`...).
504
505 ## Release Process
506
507 When a new release is being prepared, the release manager should follow the
508 following steps:
509
510 1. Verify that all outstanding issues and pull requests related to the release
511 have been resolved.
512
513 2. Confirm that the changelog has been updated and indicate the date and
514 version of the new release.
515
516 3. Update the version defined in [`markdown/__meta__.py`][markdown/__meta__.py].
517
518 4. Build a local copy of the documentation and browse through the pages to
519 confirm that no obvious issues exist with the documentation.
520
521 5. Create a pull request labeled `release`{ .label .release } with a commit
522 message in the following format:
523
524 Bump version to X.X.X
525
526 !!! note
527
528 For the checks to run properly the `release`{ .label .release } label
529 must be set on GitHub before creating the pull request. If the label
530 is added to the pull request later, additional changes will need to
531 be pushed to the pull request for the checks to acknowledge the
532 label.The relevant check verifies that the version defined in the
533 code matches the latest version in the changelog and that the
534 changelog no longer lists an `unreleased` entry. This check is
535 necessary to ensure deployment will not fail later.
536
537 6. After all checks have passed, merge the pull request.
538
539 7. Create a git tag with the new version as the tag name (in the format X.X.X
540 with no prefixes or suffixes) and push to the [Python-Markdown/markdown]
541 repository. The new tag should trigger a GitHub workflow which will
542 automatically deploy the release to PyPI and update the documentation.
543
544 In the event that the deployment fails, the following steps can be taken to
545 deploy manually:
546
547 - Deploy the release to [PyPI] with the command `make deploy` (a valid
548 authentication token will need to be provided).
549
550 - Deploy an update to the documentation using [MkDocs]. The following example
551 assumes that local clones of the [Python-Markdown/markdown] and
552 [`Python-Markdown/Python-Markdown.github.io`][Python-Markdown/Python-Markdown.github.io]
553 repositories are in sibling directories named `markdown` and `Python-Markdown.github.io`
554 respectively.
555
556 cd Python-Markdown.github.io
557 mkdocs gh-deploy --config-file ../markdown/mkdocs.yml --remote-branch master
558
559 ## Issue and Pull Request Labels
560
561 Below are the labels used to track and manage issues and pull requests. The
562 labels are loosely grouped by their purpose, but it is not necessary for every
563 issue to have a label from every group, and an issue may have more than one
564 label from the same group.
565
566 ### Type of Issue or Pull Request
567
568 | Label name | Description |
569 | ---------------------------- | ---------------- |
570 | `bug`{ .label .bug } | Bug report. |
571 | `feature`{ .label .feature } | Feature request. |
572 | `support`{ .label .support } | Support request. |
573 | `process`{ .label .process } | Discussions regarding policies and development process. |
574
575 ### Category of Issue or Pull Request
576
577 | Label name | Description |
578 | -------------------------------- | ---------------------------------------- |
579 | `core`{ .label .core } | Related to the core parser code. |
580 | `extension`{ .label .extension } | Related to one or more of the included extensions. |
581 | `docs`{ .label .docs } | Related to the project documentation. |
582
583 ### Status of Issue
584
585 | Label name | Description |
586 | --------------------------------------- | --------------------------------- |
587 | `more-info-needed`{ .label .pending } | More information needs to be provided. |
588 | `needs-confirmation`{ .label .pending } | The alleged behavior needs to be confirmed. |
589 | `needs-decision`{ .label .pending } | A decision needs to be made regarding request. |
590 | `confirmed`{ .label .approved } | Confirmed bug report or approved feature request. |
591 | `someday-maybe`{ .label .low } | Approved **low priority** request. |
592 | `duplicate`{ .label .rejected } | The issue has been previously reported. |
593 | `wontfix`{ .label .rejected } | The issue will not be fixed for the stated reasons. |
594 | `invalid`{ .label .rejected } | Invalid report (user error, upstream issue, etc). |
595 | `3rd-party`{ .label .rejected } | Should be implemented as a third party extension. |
596
597
598 ### Status of Pull Request
599
600 | Label name | Description |
601 | ------------------------------------- | ----------------------------------- |
602 | `work-in-progress`{ .label .pending } | A partial solution. More changes will be coming. |
603 | `needs-review`{ .label .pending } | Needs to be reviewed and/or approved. |
604 | `requires-changes`{ .label .pending } | Awaiting updates after a review. |
605 | `approved`{ .label .approved } | The pull request is ready to be merged. |
606 | `rejected`{ .label .rejected } | The pull request is rejected for the stated reasons. |
607
608 One additional label exists named `release`{ .label .release }. This label should only be
609 assigned to pull requests which bump the version. See the [Release Process](#release-process)
610 for details.
611
612 [Python-Markdown Organization]: https://github.com/Python-Markdown
613 [Python-Markdown Code of Conduct]: https://github.com/Python-Markdown/markdown/blob/master/CODE_OF_CONDUCT.md
614 [Python-Markdown/markdown]: https://github.com/Python-Markdown/markdown
615 [issue tracker]: https://github.com/Python-Markdown/markdown/issues
616 [syntax rules]: https://daringfireball.net/projects/markdown/syntax
617 [Babelmark]: https://johnmacfarlane.net/babelmark2/
618 [Creating a pull request from a fork]: https://help.github.com/articles/creating-a-pull-request-from-a-fork/
619 [action words]: https://help.github.com/articles/closing-issues-using-keywords/
620 [Usage of Generative AI]: https://github.com/astropy/astropy-project/blob/b842b9bef3c8d69da73d639ea0254ae17fbc1fd1/policies/ai-policy.md
621 [PEP8 Style Guide]: https://www.python.org/dev/peps/pep-0008/
622 [Flake8]: http://flake8.pycqa.org/en/latest/index.html
623 [Markdown]: https://daringfireball.net/projects/markdown/basics
624 [docs directory]: https://github.com/Python-Markdown/markdown/tree/master/docs
625 [MkDocs]: https://www.mkdocs.org/
626 [extra]: extensions/extra.md
627 [admonition]: extensions/admonition.md
628 [smarty]: extensions/smarty.md
629 [codehilite]: extensions/code_hilite.md
630 [toc]: extensions/toc.md
631 [Admonition Extension]: extensions/admonition.md#syntax
632 [fork]: https://help.github.com/articles/about-forks
633 [cloning your fork]: https://help.github.com/articles/cloning-a-repository/
634 [configure a remote]: https://help.github.com/articles/configuring-a-remote-for-a-fork
635 [sync changes]: https://help.github.com/articles/syncing-a-fork
636 [virtual environment]: https://virtualenv.pypa.io/en/stable/
637 [User Guide]: https://virtualenv.pypa.io/en/stable/user_guide.html
638 [Development Mode]: https://setuptools.readthedocs.io/en/latest/setuptools.html#development-mode
639 [PyTidyLib]: https://countergram.github.io/pytidylib/
640 [HTML Tidy]: https://www.html-tidy.org/
641 [tox]: https://tox.readthedocs.io/en/latest/
642 [aspell]: http://aspell.net/
643 [test tools]: test_tools.md
644 [Python Version Specification]: https://packaging.python.org/en/latest/specifications/version-specifiers/
645 [markdown/__meta__.py]: https://github.com/Python-Markdown/markdown/blob/master/markdown/__meta__.py#L31
646 [PEP 440]: https://www.python.org/dev/peps/pep-0440/
647 [PyPI]: https://pypi.org/project/Markdown/
648 [Python-Markdown/Python-Markdown.github.io]: https://github.com/Python-Markdown/Python-Markdown.github.io
649
650 <style type="text/css">
651 /* GitHub Label Styles */
652
653 code.label {
654 color: #000000;
655 font-weight: 600;
656 line-height: 15px;
657 display: inline-block;
658 padding: 0 8px;
659 margin: 4px 0;
660 border-radius: 999px;
661 }
662 code.bug {
663 background-color: #c45b46 !important;
664 }
665 code.feature {
666 background-color: #7b17d8 !important;
667 color: #ffffff;
668 }
669 code.support {
670 background-color: #efbe62 !important;
671 }
672 code.process {
673 background-color: #eec9ff !important;
674 }
675 code.core {
676 background-color: #0b02e1 !important;
677 color: #ffffff;
678 }
679 code.extension {
680 background-color: #709ad8 !important;
681 }
682 code.docs {
683 background-color: #b2ffeb !important;
684 }
685 code.approved {
686 background-color: #beed6d !important;
687 }
688 code.low {
689 background-color: #dddddd !important;
690 }
691 code.pending {
692 background-color: #f0f49a !important;
693 }
694 code.rejected {
695 background-color: #f7c7be !important;
696 }
697 code.release {
698 background-color: #d4c5f9 !important;
699 }
700 </style>