Code format in the examples in datatables forum

Code format in the examples in datatables forum

LakshmananLakshmanan Posts: 3Questions: 2Answers: 1
edited July 2016 in Free community support

Hi,

I've noticed in most of the examples posted by users of the forum is not properly formatted. It is hard to read the code. Can it be fixed? I see the users posted code around the [code][/code] block while the editor I see has different wrap around for code with triple single back quotes(```). It would be very helpful for all if the old code block is replaced with the new formatting so that code appears standard and nice to read in all the posts. Sorry If this isn't the right place to ask.

Code Sample:

$("#table").DataTable({
     responsive: true,
     bFilter: false,
 });

Thanks,
Lakshman

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,812Questions: 1Answers: 10,516 Site admin
    Answer ✓

    Hi,

    I'm not sure why so many posts aren't well formatted for code. The posts are formatted using markdown, which I would have said was fairly standard for web-dev forums (StackOverflow for example) and there is a GUI widget that will automatically format the code.

    Perhaps it should automatically replace [code] / [/code] - but there isn't anywhere in the forum or the documentation suggesting that that is valid input.

    Allan

This discussion has been closed.