-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
Currently, one can configure options for the Marked renderer globally only using the markedProvider. It would be great if it would be possible, as an alternative, to provide options per directive instance.
Something like:
<div marked="my_markdown" marked-options="expression">
</div>where expression is an Angular expression that evaluates to a Marked options object. For instance, it could be a reference to some property defined in some (parent) scope:
<div marked="my_markdown" marked-options="foo">
</div>$scope.foo = {
gfm: true
};TiboQc
Metadata
Metadata
Assignees
Labels
No labels