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

75 Commits

Author SHA1 Message Date
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
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
f6a845fa52 Use typed Line object 2019-04-07 16:37:50 +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
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