Emacs: You Can Highlight Matching HTML Tags With web-mode
Rating: 3
Config
(require 'web-mode)
(defun my-web-mode-hook ()
"Hooks for Web mode."
(setq web-mode-markup-indent-offset 2)
(setq web-mode-css-indent-offset 4)
(setq web-mode-code-indent-offset 4)
(setq web-mode-enable-current-element-highlight t)
)
(add-hook 'web-mode-hook 'my-web-mode-hook)
(add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
More Info
Related Facts
- 8 CSS: Gutters [#69] Dec 13, 2021
- 7 How to Include a Subject in mailto: Links [#31] Nov 29, 2021
- 7 CLI: How to Start an HTTP Server in One Line [#39] Dec 1, 2021
- 7 There Is a Browser Extension That Scans Sites for Best Practices [#67] Dec 12, 2021
- 7 Magit: You Can Track Individual Stages With Wip Mode [#120] Jun 10, 2022
33 more...
- 7 Emacs: How to Copy a Filename in Dired [#124] Jun 14, 2022
- 6 CSS: You Can Now Use Variables [#29] Nov 29, 2021
- 6 Responsive Design Mode Lets You Test Sites on Different Devices [#52] Dec 7, 2021
- 6 CSS: You Can Get Responsive Values With the clamp Function [#85] Dec 20, 2021
- 6 Emacs: set-input-method Allows You to Input Characters From Other Languages [#163] Jul 27, 2022
- 6 Port 0 Is Special-Cased at the OS Level [#197] Sep 1, 2022
- 5 Dired: How to Move Files [#13] Nov 22, 2021
- 5 You Can Select Target Iframes in Developer Tools [#54] Dec 8, 2021
- 5 Emacs: How to Insert an Increasing Number in a Macro [#116] Jun 4, 2022
- 5 org-mode: How to Visualize Table References [#129] Jun 22, 2022
- 5 Emacs: shell-command-to-string [#149] Jul 13, 2022
- 5 Emacs: Join Previous Line [#198] Sep 3, 2022
- 5 Emacs: Edit Isearch String [#199] Sep 3, 2022
- 4 Magit: Jump to Sections [#1] Nov 15, 2021
- 4 org-mode: How to Jump to a Header [#125] Jun 15, 2022
- 4 Eshell: Accessing Directory History [#155] Jul 19, 2022
- 4 TLDs Can Serve Webpages [#207] Sep 12, 2022
- 4 HTML: script Tags Have a defer Attribute [#72] Dec 14, 2021
- 4 HTML: There Is a <small> Tag [#76] Dec 16, 2021
- 4 Emacs: You Can Fold HTML Tags With web-mode [#38] Dec 1, 2021
- 3 Jquery: You Can Create a New Element With Carots [#18] Nov 24, 2021
- 3 Jquery: How to Add a Class and ID [#20] Nov 24, 2021
- 3 CSS: How to Change the Details Summary Arrow [#45] Dec 5, 2021
- 3 HTML: You Can Nest <detail> Tags [#48] Dec 6, 2021
- 2 org-mode: How To Fix Indentation [#5] Nov 18, 2021
- 2 Magit: How to Cherrypick [#7] Nov 19, 2021
- 2 Jquery: How to Clear an Element [#19] Nov 24, 2021
- 2 CSS: Spaces vs Commas [#32] Nov 30, 2021
- 2 HTTP: Set-Cookie Header [#33] Nov 30, 2021
- 2 Unobtrusive Javascript [#74] Dec 15, 2021
- 2 HTML: the <html> Element Can Have a lang Attribute [#78] Dec 17, 2021
- 1 HTTP Status Code 413 [#12] Nov 22, 2021
- 1 HTML: the <main> Tag Contains the Main Content of a Document [#47] Dec 6, 2021