brunobord / typographeur

Faire respecter les règles typographiques françaises en HTML (Python).
https://pypi.org/project/typographeur/
16 stars 1 forks source link

Options to define the HTML tag list you want to skip or not #9

Closed brunobord closed 4 years ago

brunobord commented 6 years ago

ex:

typographeur --skip-tags="pre,samp,code,var"

this comma-separated list to be splitted into a normal list or tuple to feed the typographeur routine. Then the "normal" tags won't be a shared constant but a variable, with a predefined value. Will need to take care of the case when you don't set the variable OR you don't want any tag to be escaped, which shouldn't lead to the same result.

dascritch commented 6 years ago

\o/ perhaps combined with a typographeur --show-default-skip-tags , as in :

typographeur --skip-tags="$(typographeur --show-default-skip-tags),math,tt"