1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00
Commit Graph

885 Commits

Author SHA1 Message Date
Aidan Woods
57c6350184
Implement FencedCode 2019-04-07 16:37:54 +01:00
Aidan Woods
194c916c6a
Implement Comment 2019-04-07 16:37:54 +01:00
Aidan Woods
c50deda690
Implement BlockQuote 2019-04-07 16:37:54 +01:00
Aidan Woods
3094329950
Add traits to provide common block implementations 2019-04-07 16:37:54 +01:00
Aidan Woods
74a855946d
Add some more exotic type specialisations of block 2019-04-07 16:37:53 +01:00
Aidan Woods
c17868cac8
Basic block and inline definitions 2019-04-07 16:37:53 +01:00
Aidan Woods
5a00cb7f07
Define a basic component 2019-04-07 16:37:53 +01:00
Aidan Woods
db657952d1
Add DefinitionBook configurable to replace definition data 2019-04-07 16:37:53 +01:00
Aidan Woods
c55dbb0d3f
Add safe mode and strict mode configurables 2019-04-07 16:37:53 +01:00
Aidan Woods
072f91df47
Add some useful renderables 2019-04-07 16:37:53 +01:00
Aidan Woods
c852b487b4
Expose text string backing 2019-04-07 16:37:53 +01:00
Aidan Woods
00835c5101
Adjustments to rendering spacing 2019-04-07 16:37:52 +01:00
Aidan Woods
a971e5aa54
Put element related sanitisation and data in a centralised location 2019-04-07 16:37:52 +01:00
Aidan Woods
23cfbd153c
Add canonical state renderable to provide default implementation for
renderables to be trivially state renderable
2019-04-07 16:37:52 +01:00
Aidan Woods
23560bfa33
Add handler so closures can implement state renderable via the wrapper 2019-04-07 16:37:52 +01:00
Aidan Woods
1f06b47e6c
Add configurable and state 2019-04-07 16:37:52 +01:00
Aidan Woods
7746c9df06
Add state renderable -- all renderables are state renderables 2019-04-07 16:37:52 +01:00
Aidan Woods
dcc5ea0c9b
Add Excerpt class 2019-04-07 16:37:52 +01:00
Aidan Woods
7ef8b30043
Capitalisation 2019-04-07 16:37:51 +01:00
Aidan Woods
deaf0682b5
Make tab shortage function public 2019-04-07 16:37:51 +01:00
Aidan Woods
3a0db641aa
Test format before units 2019-04-07 16:37:51 +01:00
Aidan Woods
215953334e
Update psalm version for bugfixes 2019-04-07 16:37:51 +01:00
Aidan Woods
1541859e0e
PHP < 7 compat for Html renderables 2019-04-07 16:37:51 +01:00
Aidan Woods
0f6c0fa84d
PHP < 7 compat
Don't use token name for function name

Remove return typehint

Remove parameter typehints
2019-04-07 16:37:51 +01:00
Aidan Woods
0f36000dc9
Add typed Context and Lines objects 2019-04-07 16:37:50 +01:00
Aidan Woods
57b86b3fc4
Use psalm for static analysis
Don't check the main Parsedown file just yet
2019-04-07 16:37:50 +01:00
Aidan Woods
f6a845fa52
Use typed Line object 2019-04-07 16:37:50 +01:00
Aidan Woods
db04e1575f
Commonmark stage should be allowed to fail in travis 2019-04-07 16:37:50 +01:00
Aidan Woods
6d03fa0d3a
Rephrasing 2019-04-07 16:37:50 +01:00
Aidan Woods
49829c2019
Remove HHVM for now 2019-04-07 16:37:50 +01:00
Aidan Woods
c419295466
Remove unsupported dependencies when running unit tests (PHP < 7 compat) 2019-04-07 16:37:50 +01:00
Aidan Woods
23b07fa185
Cache composer cache in travis 2019-04-07 16:37:49 +01:00
Aidan Woods
5795a6f0a9
Add travis build stages 2019-04-07 16:37:49 +01:00
Aidan Woods
a42848da57
CommonMark weak test in composer 2019-04-07 16:37:49 +01:00
Aidan Woods
82a528711f
Fix commonmark test 2019-04-07 16:37:49 +01:00
Aidan Woods
8c091b8e63
Testing composer shortcuts 2019-04-07 16:37:49 +01:00
Aidan Woods
a636bf7bfa
Update phpunit version 2019-04-07 16:37:49 +01:00
Aidan Woods
8512e65a18
Standardise formatting 2019-04-07 16:37:49 +01:00
Aidan Woods
267256cbb8
Fix typos 2019-04-07 16:37:48 +01:00
Aidan Woods
f8aa618f3d
Default construct to empty text 2019-04-07 16:37:48 +01:00
Aidan Woods
f85f6cbd40
Add setting constructors for each property 2019-04-07 16:37:48 +01:00
Aidan Woods
822cf15ac9
Add helper constructor with variadic 2019-04-07 16:37:48 +01:00
Aidan Woods
9046f066df
Html/Component -> Html/Renderable 2019-04-07 16:37:48 +01:00
Aidan Woods
7690b98f61
Correct namespace 2019-04-07 16:37:48 +01:00
Aidan Woods
04581d0915
Basic HTML constructs 2019-04-07 16:37:47 +01:00
Aidan Woods
5ab8839d04
PHP 5.3 and 5.4 class name support 2019-04-07 16:37:47 +01:00
Aidan Woods
c429c47fee
Remove strict_types for PHP 5.3 and 5.4 compat 2019-04-07 16:37:47 +01:00
Aidan Woods
88ab68fd0b
Refactor into namespaces for PSR-4 2019-04-07 16:37:47 +01:00
Aidan Woods
bfaa76d370
Reflect travis breadth in README
Closes https://github.com/erusev/parsedown/issues/692
2019-04-07 16:36:22 +01:00
Aidan Woods
3825db53a2 Merge branch '1.8.x-beta' 2019-04-06 17:58:29 +01:00