Closed madebydna closed 13 years ago
Working on this one per an earlier conversation with Jordon.
Preview code from university-web works here, though I'll need to add styles, and the javascript ought to be changed not to create duplicate IDs when more than one preview is created per page (puzzle edit).
:sparkles: Woo, working and styled! :sparkles:
Now for the bad news: Unlike redcarpet, showdown.js does not support backtick-fenced code blocks. This is causing rendering inconsistencies. I'll make another attempt to find a patched showdown.js or see how difficult it would be to hack it in myself before submitting a pull request.
For example for puzzle descriptions in admin pages.