Skip to content

Commit

Permalink
fix(convert-formula.sh): add ~ to reST underlining during conversion
Browse files Browse the repository at this point in the history
Maintain consistency with heading characters mentioned here:

* https://github.com/miyakogi/m2r#restrictions
  • Loading branch information
myii committed Aug 19, 2021
1 parent 40277fc commit 80ed8cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/convert-formula.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ convert_formula() {
n
s/========/$(repeat_char =)/
s/--------/$(repeat_char -)/
s/\^^^^^^^^/$(repeat_char ^)/"'
s/\^^^^^^^^/$(repeat_char ^)/
s/\~~~~~~~~/$(repeat_char \~)/"'
s/""""""""/'"$(repeat_char \")/
}" docs/README.rst docs/map.jinja.rst

Expand Down

0 comments on commit 80ed8cd

Please sign in to comment.