web-mode
web-mode copied to clipboard
web template editing mode for emacs
### Theory HTML unquoted attribute values defined in a non-HTML language are not considered as valid attribute values. Therefore the HTML parser expects next string to define the attribute value....
Multi line inside a `` block should be aligned as HTML does --- Edit : Finally, I made a PR, I used it form weeks and everything works great so...
I have the following code: ``` true} class="AAA"> ``` If I edit this file as `test.svelte`, select the entire buffer and run `indent-region`, I would expect it to horizontally align...
I'm trying to set it so web-mode uses single line comments for regions of JavaScript and TypeScript code inside a tsx or jsx file, while still using the correct comment...
I saw that GraphQL indentation is supported in JSX files https://github.com/fxbois/web-mode/issues/866 Wondering if this is possible for Vue files with GraphQL queries as well? This is an example from the...
To follow up from #945, `M-q` in a jsdoc comment (particularly one with a left-fringe of asterisks) really messes it up right now.
Is there a way to set web-mode to indent JavaScript inside Twig blocks that are inside inline JavaScript? Now when I try to indent the `console.log` line it stays this...
There is no CSS syntax highlighting of style components inside a .tsx file (using `web-mode`):  In a .css file with `web-mode` I get more syntax highlighting:  Re #824,...
Steps to reproduce: This my testing code ```jsx const IndexPage = () => { const [message, setMessage] = useState(''); return ( Hello Snippit { setMessage(await echo(prompt('What?'))); }}>Click { message }...
Hi, I have some php/html that doesn't indent correctly, and I can't figure out why. cc-mode has a variable called `c-echo-syntactic-information-p` that is super helpful for debugging stuff like this,...