forked from michelf/php-markdown
-
Notifications
You must be signed in to change notification settings - Fork 0
[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
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Conflicts: PHP Markdown Extra Readme.text markdown.php
Conflicts: Michelf/Markdown.php Readme.md
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.
… in the lib version.
"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’
add Github Actions
Fix badge image link
Exclude dev files from dist package
Test on additional versions of PHP
Limit PHPStan to PHP 8.1
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 : )