Commit graph

22 commits

Author SHA1 Message Date
Sullivan SENECHAL 8956d7e71b Fix bad argument on MardownHelper service
`MardownHelper::__construct` argument was changed on #81 but the argument change is missing on the service definition.
2016-05-03 10:18:39 +02:00
Ryan Weaver 21576fce48 Marking new service has private, then adding a workaround for the integration test 2015-12-16 10:54:17 -05:00
Ryan Weaver c5f5046c8e Removing MarkdownTwigExtension dependency to MarkdownHelper
This allows the Twig extension to be used without the templating component.
This also introduces a new integration test as a sanity check that all the
configuration / compiler pass was setup correctly.
2015-12-15 16:08:41 -05:00
Christophe Coevoet 57d1f237c6 Fix the registration of the PHP templating helper 2015-08-05 11:28:54 +02:00
Elnur Abdurrakhimov f8959e7bdd Make the Sundown service classes overridable using parameters 2014-02-24 21:08:07 +04:00
Joseph Bielawski bd597e66a1 Fix way how Sundown parser is added
Fix detection of default parser when none is set
Add Flavored preset from KnpBundles.com
2012-10-17 12:01:25 +02:00
Joseph Bielawski 3c541b580b Removed hard dependency on MarkdownParser code, now uses dflydev/markdown library
Refactored way how parsers are initialized, and allow to select parser while rendering
Interface `MarkdownParserInterface` method name was changed from `#transform($text)` to `#transformMarkdown($text)`
2012-10-15 17:28:35 +02:00
Luis Cordova 3a5df3e04d add support for sundown extension
move configuration and create userland sundown parser
fix namespace typo and wip
add configuration for extensions and render flags for sundown
turn scalar into boolean nodes
add usage of defaultTrue and defaultFalse
using two arraynode for sundown and 2 children for extensions and render flags
feed configurations for extensions and render flags into DIC parameters
add ext-sundown on suggests
refactoring configuration
fix config and remove dots from parameters
wip
wip
try some approach with stof's help
wip
working but not changing when setting different default
last touches
set all configuration booleans default to false
fix indentation of addDefaultsIfNotSet
some love to travis, phpunit and vendor scripts
mark tests as incomplete because the test tests special configuration of the underlaying library wrapped
test against v2.0.5
silly typo defaultFales
remove composer.lock
update php version on composer.json
add changes as per comments
removing v from versions in travis
address comments
Fix no_html feature
switching 2.2.* to dev-master
remove 2.2.* stuff symfony frameworkbundle is not that far yet
update readme and support config dump
wip
2012-10-11 20:44:30 -05:00
Matthieu Bontemps 6414f6be0a Change Knplabs to Knp. BC break before Symfony2 release. 2011-07-03 11:30:09 +02:00
ornicar f04bb4a7e6 Modernize the bundle, add parser implementation choice, and improve doc. 2011-04-06 23:35:00 -07:00
Matthieu Bontemps 574aaa762e Change namespaces to Vendor\Bundle\BundleName to reflect best practices. 2011-03-12 18:47:26 +01:00
GordonsLondon ddc49d0068 update xml 2011-03-10 00:50:16 +08:00
Antoine Hérault c116747857 Remove shared attribute in service definition 2011-02-04 15:45:45 +01:00
Antoine Hérault aa765dd1dd Add vendor prefix 2011-02-04 15:28:05 +01:00
Matthieu Bontemps 65c5223d9c Introduce a Twig markdown filter 2010-09-19 21:05:36 +02:00
Antoine Hérault 5473097373 updated to the last Symfony2 style 2010-09-19 09:03:06 +02:00
ornicar 39b8fdb704 Update to latest Symfony2 template helper dependency injection 2010-08-09 12:06:58 +02:00
ornicar 5a654301da Include helper parameters and services in parser configuration 2010-06-09 11:26:52 +02:00
Thibault Duplessis ff438936a5 Improve performance, allow to choose precisely parser features, more unit and performance tests 2010-05-12 01:25:34 +02:00
ornicar 146a17da75 Add helper 2010-05-06 15:17:59 +02:00
ornicar 8c09df8ab2 Fix dependency injection 2010-05-05 18:31:57 +02:00
ornicar 65920e999e Implement markdown parser 2010-05-05 18:20:58 +02:00