2022-EMT/README.md
2023-06-02 15:46:29 +03:00

17 lines
1.4 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# mdash Typograph for Python 3.5 (and above)
Это mdash Typograph (Типограф Евгения Муравьева) адаптированный для версии Python 3.5 и выше. Оригинальный типограф был создан на PHP и находится [на github](https://github.com/emuravjev/mdash) и [mdash.ru](http://mdash.ru).
It is EMT (Evgeny Muravjev Typograph) prepared for Python 3.5 (and above). Original EMT is written in PHP and can be found here: [github.com/emuravjev/mdash](https://github.com/emuravjev/mdash) and
[mdash.ru](http://mdash.ru).
----
### Примечания (Note)
Имейте в виду, что в сочетании с wysiwyg-редакторами (например с ckeditor) EMT может создавать артефакты HTML-кода и даже вызывать сбой типографа. Будьте осторожны и будьте готовы добавить костыли пре- и постобработки.
Be aware that when combined with wysiwyg-editor (like ckeditor), EMT can create HTML-code artifacts and even cause typographer to crash. Be careful and get ready to add pre- and post-processing crutches.
### TODO
* Защитить от типографирования текст внутри `<pre>`, `<code>`, `<kbd>`, `<script>` и `<style>`.
* Добавить переносы для длинных слов (Hyphenation `&shy;`).