22 Commits

Author SHA1 Message Date
Marius Balteanu
d745168d57 Enables CJK friendly emphasis extension for CommonMark (#43234).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@24013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-25 05:30:33 +00:00
Marius Balteanu
3090bf6906 Adds icons to commonmark alerts (#42603).
git-svn-id: https://svn.redmine.org/redmine/trunk@23796 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-24 21:29:21 +00:00
Marius Balteanu
8fa4c44581 Enable CommonMark alert extension (#42603).
Patch by Mizuki ISHIKAWA (user:ishikawa999).

git-svn-id: https://svn.redmine.org/redmine/trunk@23724 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-29 21:13:55 +00:00
Marius Balteanu
6faaf3d038 Replaces deckar01-task_list gem with commonmarks tasklist extension (#42602).
git-svn-id: https://svn.redmine.org/redmine/trunk@23718 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-27 06:58:32 +00:00
Marius Balteanu
524a41eb6c Disable header_ids, tasklist, shortcodes extensions and github_pre_lang render option that are now enabled by default in commonmark (#40197).
git-svn-id: https://svn.redmine.org/redmine/trunk@23696 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-21 05:29:13 +00:00
Marius Balteanu
5851f65bb8 Fixes rubocop offenses (#40197).
git-svn-id: https://svn.redmine.org/redmine/trunk@23250 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-11 18:41:12 +00:00
Marius Balteanu
c0bb500242 Disables @syntax_highlighter@ plugin shipped by commonmark (#40197).
git-svn-id: https://svn.redmine.org/redmine/trunk@23249 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-11 18:29:46 +00:00
Marius Balteanu
542a493352 Simplify code (#40197).
git-svn-id: https://svn.redmine.org/redmine/trunk@23248 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-11 18:29:12 +00:00
Marius Balteanu
a5d263dba8 Updates commonmark gem version to 1.1.5 which switches from libcmark-gfm to comrak/Rust (#40197).
git-svn-id: https://svn.redmine.org/redmine/trunk@23247 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-11 18:28:41 +00:00
Marius Balteanu
39401e4b95 Reverts r23190-r23187 because the CI build fails with error "ERROR: Failed to build gem native extension" (#40197).
git-svn-id: https://svn.redmine.org/redmine/trunk@23197 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-03 18:34:06 +00:00
Marius Balteanu
229d921391 Disable syntax_highlighter plugin shipped by commonmark (#40197).
git-svn-id: https://svn.redmine.org/redmine/trunk@23190 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-03 12:05:27 +00:00
Marius Balteanu
c630acfa6f Simplify code (#40197).
git-svn-id: https://svn.redmine.org/redmine/trunk@23189 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-03 12:03:32 +00:00
Marius Balteanu
da87320ebc Updates commonmark gem version to 1.1.5 which switches from libcmark-gfm to comrak/Rust.
git-svn-id: https://svn.redmine.org/redmine/trunk@23188 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-03 12:02:39 +00:00
Marius Balteanu
38d950df55 Remove current year from source file copyright headers and update year in footer to 2024 (#40043).
git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-26 22:55:54 +00:00
Go MAEDA
57544d6d4b Update CommonMarker extension options link
git-svn-id: https://svn.redmine.org/redmine/trunk@22084 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-31 23:55:55 +00:00
Go MAEDA
92bd67c279 Update copyright year to 2023 (#38141).
git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 06:19:35 +00:00
Marius Balteanu
1a7b2fe907 Move methods related to wiki section to a helper file and include it in all 3 formatters (#37119).
git-svn-id: https://svn.redmine.org/redmine/trunk@21643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-16 21:39:27 +00:00
Marius Balteanu
380a3b0345 Enable task list items for Common Mark text formatting (#35742).
git-svn-id: http://svn.redmine.org/redmine/trunk@21383 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-22 09:24:43 +00:00
Go MAEDA
3686b77eb6 Update copyright year in source files to 2022 (#36379).
git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-02 05:29:10 +00:00
Marius Balteanu
715ffcda43 Append two spaces to lines when importing an email on CommonMark with hardbreaks disabled (#32424).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21228 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-03 19:20:04 +00:00
Marius Balteanu
09618a274b Make hardbreaks behaviour configurable in config/configuration.yml (#32424).
git-svn-id: http://svn.redmine.org/redmine/trunk@21227 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-03 05:17:18 +00:00
Marius Balteanu
9af2ba2c13 Adds CommonMark Markdown (GitHub Flavored) as third text formatting option (#32424).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21156 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-11 21:40:56 +00:00