最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

text - How can I quickly style a single word with a single keypress (or the most minimum keypresses)?

programmeradmin1浏览0评论

I run a blog on some kind of tutorial. Every page literally has 20 occurrences of a keyword that I try to explain. I need to "highlight" the keyword that is being used on every page.

Currently, I write down the whole post. Then save. Switch to Code Editor and then find each occurrence of the keyword. I wrap it around as follows:

Original:

keyword

After modifying:

<span style="background-color:#f7f9de;">keyword</span>

How can I make this kind of highlighting easier? Perhaps a way to quickly highlight this way by selecting the text and choosing a hotkey? I don't want to go into code editor and search/replace every occurrence because it quickly gets tedious.

发布评论

评论列表(0)

  1. 暂无评论