简体   繁体   English

是否有为html颜色代码着色的次要模式?

[英]Is there a minor-mode which colors html color codes?

I'm looking for an emacs minor mode that colors html color codes, eg #D6199F in its corresponding color. 我正在寻找一个emacs次要模式,该模式可以将html颜色代码着色,例如以相应的颜色#D6199F Apparently https://github.com/fxbois/web-mode does that, but not as a separate minor-mode. 显然, https://github.com/fxbois/web-mode可以做到这一点,但不能作为单独的次要模式。 Is such a minor-mode around? 有这样的次要模式吗?

You can use rainbow-mode . 您可以使用Rainbow-mode It is installable through GNU ELPA. 它可以通过GNU ELPA安装。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM