Created
June 17, 2020 02:29
-
-
Save deanbot/3e3830ad5ded2fc2e552da02b788e4c2 to your computer and use it in GitHub Desktop.
KirbyText mark-tag (include in site/plugins/mark-tag)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
Kirby::plugin('mark/tag', [ | |
'tags' => [ | |
'mark' => [ | |
'html' => function($tag) { | |
return '<mark>' . $tag->value . '</mark>'; | |
} | |
] | |
] | |
]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment