kaoken / markdown-it-php Goto Github PK
View Code? Open in Web Editor NEWphp version markdown-it
License: MIT License
php version markdown-it
License: MIT License
Hey there! I'm having an issue getting the support for tables to work:
$md = new Kaoken\MarkdownIt\MarkdownIt();
$result = $md->render('
| First Header | Second Header |
| ------------- | ------------- |
| Content Cell | Content Cell |
| Content Cell | Content Cell |
');
Response:
ErrorException in MarkdownIt/RulesBlock/Table.php line 70:
Uninitialized string offset: 31
Match is a reserved keyword in PHP 8.
Class Kaoken\LinkifyIt\Match must be renamed :-)
Hello.
I wanted to ask if there will be any further plugins added to the package?
Specifically:
Thanks
First off, thank you @kaoken for putting this package together.
I noticed that the conversion currently fails if a line ends in !
due to this line not checking if the index exists first: https://github.com/kaoken/markdown-it-php/blob/master/src/MarkdownIt/RulesInline/Image.php#L22
hei,
i tried rendering a custom container by using
::: custom_block
block content
::: custom_block
but it doesn't seem to be an easy way to render a custom layout.
are there any examples how this could be done?
since the documentation for custom containers is only for javascript,
is not that easy to replicate it in php.
thank you.
Class Kaoken\Test\MarkdownItTestgen\CTest located in ./vendor/kaoken/markdown-it-php/src/MarkdownIt/MarkdownItTestgen/CTest.php does not comply with psr-4 autoloading standard. Skipping.
Class Kaoken\Test\MarkdownItTestgen\MarkdownItTestgen located in ./vendor/kaoken/markdown-it-php/src/MarkdownIt/MarkdownItTestgen/MarkdownItTestgen.php does not comply with psr-4 autoloading standard. Skipping.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.