D
D
Drovosek012019-02-01 13:41:48
HTML
Drovosek01, 2019-02-01 13:41:48

How to "generate" a mark tag in Emmet in VS Code?

I want to insert a tag into an html document, but Emmet doesn't know this tag.
Tried pressing Tab, but the editor just adds a space to the Tab.
Tried pressing Ctrl+Space, but the editor says it has no options to continue... VS
5c54226998fe5615093505.png
Code 1.30.2, Windows
10
/Emmet made this word the opening and closing tags?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Drovosek01, 2019-02-05
@Drovosek01

The problem was solved by enabling the item "Trigger Expansion On Tab" in the Emmet settings.
5c592bd3677c2621907840.png

L
LEXA_JA, 2019-02-01
@LEXA_JA

Through custom snippets for emmet:
In the vscode settings, you need to specify the path to the folder where they will be located

{
    "emmet.extensionsPath": "путь/к/сниппетам",
}

And there you need to create the snippets.json file, where the snippets are indicated
{
    "html": {
        "snippets": {
            "mark": "mark"
        }
    }
}

https://code.visualstudio.com/docs/editor/emmet#_u...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question