snudown
snudown copied to clipboard
Code Formatting
It would be great if RFM supported formatted code snippets like GFM. So that
const buildselecthtml = (options, selected) =>
$.map(options, option =>
'<option ' + ((option.id === selected) ? ' selected="selected" ' : '') + ' value="' + option.id + '">' + option.name + '</option>')
.join('');
Could become
const buildselecthtml = (options, selected) =>
$.map(options, option =>
'<option ' + ((option.id === selected) ? ' selected="selected" ' : '') + ' value="' + option.id + '">' + option.name + '</option>')
.join('');
Which is a great deal easier to read
Reddit's markdown parser is being rewritten into Rust, so I'm not even sure if this repository is "valid" anymore.
Oh...ok - maybe I should raise this issue there instead then? Do you have a link?