Skip to content

[pull] lib from michelf:lib #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

Merged
merged 269 commits into from
Jun 24, 2025
Merged

[pull] lib from michelf:lib #1

merged 269 commits into from
Jun 24, 2025

Conversation

pull[bot]
Copy link

@pull pull bot commented Jun 24, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

michelf and others added 30 commits April 10, 2013 22:34
Conflicts:
	PHP Markdown Extra Readme.text
	markdown.php
Conflicts:
	Michelf/Markdown.php
…own Lib.

This is probably more trouble to maintain than it is worth. Also, people will mistake this for the version to use when filling bug reports.
now start with the first number given.  For example, if you start your
list in Markdown as follows:

2. second list item
3. third list item

then Markdown will produce this:

<ol start="2">
<li>second list item</li>
<li>third list item</li>
</ol>
Added configuration variable to enable enhanced ordered list.
Enhanced ordered list is disabled by default.
Removed extra 'start="1"' when the list's starting value is 1
Removed 'start="1"' on unordered lists
Moved enhanced_ordered_list field into Markdown class, default value
is false.
Made MarkdownExtra enable enhanced ordered list by default.
"The closing ?> tag MUST be omitted from files containing only PHP"
- Adding support for GFM backticks ``` (for fenced code blocks); in additional to ~~~ already supported in Markdown Extra.
- Adding support for GFM language marker; e.g. ```php
Removing the additional code that I applied previously to implement the `data-lang` attribute. In retrospect, this was a bad idea; as the existing implementation does a good job with this already when used properly.

Many thanks to Michel Fortin for his help in accomplishing these changes :-) I hope this might be merged into the official copy at some point in the future.
Typo fix in version number.
‘praser’ to ‘parser’
tacman and others added 28 commits November 8, 2021 07:39
Exclude dev files from dist package
Test on additional versions of PHP
preg_split returning false will cause TypeError on invalid countable in PHP 8
Add id and class attr for table
* Cast attr to string to prevent a PHP deprecation warning in 8.1

* Update the call to preg_match_all to coalesce an empty string on $attr
This currently throws a `TypeError` if `$parts` is `false`, which is a valid return value for `preg_split`.
@pull pull bot added the ⤵️ pull label Jun 24, 2025
@pull pull bot merged commit 98b12b8 into dolfly:lib Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.