Skip to content

Commit 80ed8cd

Browse files
committed
fix(convert-formula.sh): add ~ to reST underlining during conversion
Maintain consistency with heading characters mentioned here: * https://github.com/miyakogi/m2r#restrictions
1 parent 40277fc commit 80ed8cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/convert-formula.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ convert_formula() {
8989
n
9090
s/========/$(repeat_char =)/
9191
s/--------/$(repeat_char -)/
92-
s/\^^^^^^^^/$(repeat_char ^)/"'
92+
s/\^^^^^^^^/$(repeat_char ^)/
93+
s/\~~~~~~~~/$(repeat_char \~)/"'
9394
s/""""""""/'"$(repeat_char \")/
9495
}" docs/README.rst docs/map.jinja.rst
9596

0 commit comments

Comments
 (0)