mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
wikiheaders: when merging into headers, wordwrap in Markdown style.
This commit is contained in:
parent
45d128db00
commit
f55445422a
@ -466,6 +466,9 @@ if ($warn_about_missing) {
|
|||||||
|
|
||||||
if ($copy_direction == 1) { # --copy-to-headers
|
if ($copy_direction == 1) { # --copy-to-headers
|
||||||
my %changed_headers = ();
|
my %changed_headers = ();
|
||||||
|
|
||||||
|
$wordwrap_mode = 'md'; # the headers use Markdown format.
|
||||||
|
|
||||||
# if it's not in the headers already, we don't add it, so iterate what we know is already there for changes.
|
# if it's not in the headers already, we don't add it, so iterate what we know is already there for changes.
|
||||||
foreach (keys %headerfuncs) {
|
foreach (keys %headerfuncs) {
|
||||||
my $fn = $_;
|
my $fn = $_;
|
||||||
|
Loading…
Reference in New Issue
Block a user