web-mode icon indicating copy to clipboard operation
web-mode copied to clipboard

web template editing mode for emacs

Results 63 web-mode issues
Sort by recently updated
recently updated
newest added

Hi there, is it possible to auto indent html attributes each on a new line? Like from this: ![image](https://user-images.githubusercontent.com/24436622/81182441-506a4280-8f9d-11ea-8981-5357b366d452.png) to something like this: ![image](https://user-images.githubusercontent.com/24436622/81182585-81e30e00-8f9d-11ea-96f9-9b6d0b552995.png)

html
command

Hello my config: ```elisp (add-to-list 'auto-mode-alist '("/templates/.*\\.html?\\'" . web-mode)) ;; (add-to-list 'auto-mode-alist '("/\\(components\\|containers\\|src\\)/.*\\.js[x]?\\'" . web-mode)) (add-to-list 'auto-mode-alist '("\\.\\(handlebars\\|hbs\\)\\'" . web-mode)) (with-eval-after-load 'web-mode (setq web-mode-engines-alist '( ("handlebars" . "\\.\\(handlebars\\|hbs\\)\\'") ("django" ....

ember

When I try to make a svelte element with several properties on individual lines, the indentation and highlighting gets a little messed up. For example, the following code is formatted...

indentation
svelte

Hi. Is it possible to customize the open/close tags for a Javascript region? I'm guessing `web-mode` interprets something inside a `` block as Javascript but I would like to be...

javascript
blade
lexer

I would like for ```elisp (setq web-mode-extra-auto-pairs '( ("handlebars" . ( ("{{#each}}" "{{/each}}") ("{{#if}}" "{{/if}}" )) ))) ``` to work... but it doesn't. My current config is: ```elisp (add-to-list 'auto-mode-alist...

handlebars
auto-stuff

Hello, I'm coding some HTML that looks like this (its in a .ejs file if that matters): ``` Introduction to WebRTC * ``` My cursor is on the `*`. I'm...

indentation
javascript

When editing a handlebars buffer like this (`|` determines the current cursor position) ```handlebars | {{#if this.isOk}} Hello` style comment, but I want `{{!-- --}}`. Looking at `web-mode-comment-insert`, this could...

commenting

Now it looks like this: ```css .test font-size 10px color #fff ``` ``` emacs version 28.0.50 features RSVG GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS JSON...

indentation
stylus

I think PR for #1005 brokes it. Example block of code: ```eex %> both %> min %> max ``` So it should be formatted this way. Right now it indents...

indentation

Pretty much as the title says; small and simple.