Skip to content

Commit

Permalink
Redesign footnotes. Fix hyphenation for polish.
Browse files Browse the repository at this point in the history
  • Loading branch information
czerwonamaupa committed Jan 3, 2019
1 parent f980135 commit 3b78ab5
Show file tree
Hide file tree
Showing 5 changed files with 570 additions and 567 deletions.
2 changes: 1 addition & 1 deletion filters/hyphenate.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from pandocfilters import Para, Str, toJSONFilter, walk
from pyphen import Pyphen

dic = Pyphen(lang='en_US', left=3, right=3)
dic = Pyphen(lang='pl_PL', left=3, right=3)

word_detection_pattern = re.compile(r'\w{7,}', re.UNICODE)

Expand Down
Loading

0 comments on commit 3b78ab5

Please sign in to comment.