Mercurial > p > roundup > code
comparison roundup/configuration.py @ 6277:957a0fc20021
issue2551094 - markdown mismatch - new config for embedded newine
Make earlier patch to fix mismatch between simplemde formatting
of embedded newlines choosable. New option MARKDOWN_BREAK_ON_NEWLINE
added to config.ini. If set to true all 4 renders: markdown,
markdown2, mistune and simplemde will make a newline into a hard
linebreak using <br> when displayed.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 25 Oct 2020 16:12:15 -0400 |
| parents | 50960479f627 |
| children | 778a9f455067 |
comparison
equal
deleted
inserted
replaced
| 6276:177b186dd23a | 6277:957a0fc20021 |
|---|---|
| 1327 (IntegerNumberGeqZeroOption, "max_attachment_size", sys.maxsize, | 1327 (IntegerNumberGeqZeroOption, "max_attachment_size", sys.maxsize, |
| 1328 "Attachments larger than the given number of bytes\n" | 1328 "Attachments larger than the given number of bytes\n" |
| 1329 "won't be attached to nosy mails. They will be replaced by\n" | 1329 "won't be attached to nosy mails. They will be replaced by\n" |
| 1330 "a link to the tracker's download page for the file.") | 1330 "a link to the tracker's download page for the file.") |
| 1331 ), "Nosy messages sending"), | 1331 ), "Nosy messages sending"), |
| 1332 ("markdown", ( | |
| 1333 (BooleanOption, "break_on_newline", "no", | |
| 1334 "If yes/true, render single new line characters in markdown\n" | |
| 1335 "text with <br>. Set true if you want GitHub Flavored Markdown\n" | |
| 1336 "(GFM) handling of embedded newlines."), | |
| 1337 ), "Markdown rendering options."), | |
| 1332 ) | 1338 ) |
| 1333 | 1339 |
| 1334 ### Configuration classes | 1340 ### Configuration classes |
| 1335 | 1341 |
| 1336 | 1342 |
