From: Frederik D. <fd...@gm...> - 2013-09-07 15:20:33
|
Hi all, As mentioned elsewhere, I've created a checklists extension: https://github.com/FND/markdown-checklist Right now that's just a simple preprocessor converting unordered lists of a special type: * [ ] foo * [ ] bar <ul> <li><input type="checkbox" disabled> foo</li> <li><input type="checkbox" disabled checked> bar</li> </ul> However, I now want to add a class to such lists[1] - which renders my preprocessor unsuitable. Since I'd rather avoid reinventing the wheel, I'd be grateful if someone could point me to existing examples for customizing elements like that (not in terms of markup, but extension code). Thanks, Fred [1] due to https://github.com/FND/markdown-checklist/issues/1 |