Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Добавить возможность вставлять листинг кода с подсветкой синтаксиса #1

Open
mihdan opened this issue Dec 6, 2017 · 1 comment
Labels
feature фича

Comments

@mihdan
Copy link
Owner

mihdan commented Dec 6, 2017

Так как нельзя ставить, стили, css, то единственным вариантом вижу - генерить картинку через внешний сервис и вставлять в пост.

Добавить тег <pre> в список разрешенных, парсить контент и заменять <pre> на <img>

https://carbon.now.sh/

@mihdan mihdan added enhancement хотелка good first issue первый баг labels Dec 6, 2017
@mihdan mihdan removed the good first issue первый баг label Feb 1, 2018
@mihdan mihdan added feature фича and removed enhancement хотелка labels Dec 22, 2018
@mihdan
Copy link
Owner Author

mihdan commented Jan 15, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature фича
Projects
None yet
Development

No branches or pull requests

1 participant