Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf0cba4f

Browse files
authored
Fix the sed script for manipulating pre-TOC sections
1 parent116e93d commitf0cba4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎action.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ runs:
5151
# While we're doing this, transform the case to all-caps.
5252
-run:>
5353
sed -i
54-
'/0/,/\\tableofcontents/s/^# \(.*\)/\\addsec\{\U\1\}/g'
54+
'0,/\\tableofcontents/s/^# \(.*\)/\\addsec\{\U\1\}/g'
5555
${{ inputs.input-md }}
5656
shell: sh
5757
# Grab the date from the front matter and generate the full date and year.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp