Bug 547 - Upgrade markdown implementation to support fenced code blocks
Summary: Upgrade markdown implementation to support fenced code blocks
Status: CONFIRMED
Alias: None
Product: Libre-SOC Website
Classification: Unclassified
Component: website (show other bugs)
Version: unspecified
Hardware: All All
: High enhancement
Assignee: Luke Kenneth Casson Leighton
URL:
Depends on:
Blocks:
 
Reported: 2020-12-16 00:45 GMT by Jacob Lifshay
Modified: 2020-12-16 17:57 GMT (History)
3 users (show)

See Also:
NLnet milestone: ---
total budget (EUR) for completion of task and all subtasks: 0
budget (EUR) for this task, excluding subtasks' budget: 0
parent task for budget allocation:
child tasks for budget allocation:
The table of payments (in EUR) for this task; TOML format:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Lifshay 2020-12-16 00:45:06 GMT
Support properly rendering code blocks like:

```C++
int main() {
    __builtin_printf("Hello, World!\n");
}
```

See
https://ikiwiki.info/todo/Fenced_code_blocks___40__from_GitHub_Flavored_Markdown__41__/
Comment 1 Luke Kenneth Casson Leighton 2020-12-16 01:10:16 GMT
ngggh i swear i enabled multimarkdown.
Comment 2 Luke Kenneth Casson Leighton 2020-12-16 16:59:52 GMT
ah.  i remember.  it was enabling of multimarkdown that caused a bug in interaction between tables and bullet-lists.
Comment 3 Cole Poirier 2020-12-16 17:57:09 GMT
(In reply to Luke Kenneth Casson Leighton from comment #2)
> ah.  i remember.  it was enabling of multimarkdown that caused a bug in
> interaction between tables and bullet-lists.

Presumably because the markdown does bullet lists and thus the two conflict. I would recommend disabling the bullet-lists plugin and using the markdown one as the markdown one logically is a far larger superset of the bullet-list functionality.
Comment 4 Cole Poirier 2020-12-16 17:57:44 GMT