Closed vhf closed 7 years ago
See original module here: https://github.com/zestedesavoir/Python-ZMarkdown/blob/master-zds/zmarkdown/extensions/french_typography.py
Example package is here: https://github.com/zestedesavoir/zmarkdown/tree/master/packages/typographic-colon
[x] quotes
[x] apostrophes
[x] ellipses
[x] (tm)
[x] (c)
[x] em dash
[x] en dash
[x] %o becomes ‰
%o
‰
[x] nnbsp before : (nnbsp is NARROW NO-BREAK SPACE)
:
NARROW NO-BREAK SPACE
[x] nnbsp before ;
;
[x] nnbsp before !
!
[x] nnbsp before ?
?
[x] nnbsp before %
%
[x] nnbsp before ‰
[x] nnbsp before »
»
[x] nnbsp after «
«
[x] << becomes «
<<
[x] >> becomes »
>>
[x] nbsp inside em dash pairs (foo -- bar -- baz. -> foo1 — 2bar2 —1 baz. where 1 is ` and2isnbsp`)
foo -- bar -- baz.
foo1 — 2bar2 —1 baz.
1
` and
is
\o/ @AmarOk1412 ! 😍
See original module here: https://github.com/zestedesavoir/Python-ZMarkdown/blob/master-zds/zmarkdown/extensions/french_typography.py
Example package is here: https://github.com/zestedesavoir/zmarkdown/tree/master/packages/typographic-colon
[x] quotes
[x] apostrophes
[x] ellipses
[x] (tm)
[x] (c)
[x] em dash
[x] en dash
[x]
%o
becomes‰
[x] nnbsp before
:
(nnbsp isNARROW NO-BREAK SPACE
)[x] nnbsp before
;
[x] nnbsp before
!
[x] nnbsp before
?
[x] nnbsp before
%
[x] nnbsp before
‰
[x] nnbsp before
»
[x] nnbsp after
«
[x]
<<
becomes«
[x]
>>
becomes»
[x] nbsp inside em dash pairs (
foo -- bar -- baz.
->foo1 — 2bar2 —1 baz.
where1
is` and
2is
nbsp`)