Skip to content

Commit 5be1d59

Browse files
committed
ci(publish-npm): remove attributes from section names
1 parent 100cfcc commit 5be1d59

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ jobs:
7979
if [ -n "$title" ]; then
8080
sed -i "1s/^/# $title\n\n/" README.md
8181
fi
82+
# Remove attributes from section names
83+
# https://github.com/jgm/pandoc/issues/5965
84+
sed -i -E 's/^(#+ .*?) \{#_[^}]+\}$/\1/' README.md
8285
8386
- name: Publish NPM package
8487
run: npm publish --access public

0 commit comments

Comments
 (0)