Skip to content

Commit 43ac7aa

Browse files
committed
ci(publish-npm): remove attributes from section names
1 parent b3bcb39 commit 43ac7aa

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
@@ -76,6 +76,9 @@ jobs:
7676
if [ -n "$title" ]; then
7777
sed -i "1s/^/# $title\n\n/" README.md
7878
fi
79+
# Remove attributes from section names
80+
# https://github.com/jgm/pandoc/issues/5965
81+
sed -i -E 's/^(#+ .*?) \{#_[^}]+\}$/\1/' README.md
7982
8083
- name: Publish NPM package
8184
run: npm publish --access public

0 commit comments

Comments
 (0)