Possible at all VScode ? option or extenstion to manually color markup words (non syntax)?
up vote
1
down vote
favorite
Abit of a longshot as this is more like a paint program or word/excel stuff and not really related to a programming language/struct syntax.
But is it possible at all to make either VScode do it or an extension to do it so i would be able to mark blocks of text and give them different background colors ?
Reason why i would like it is that i often have the need to be able to specify explanations etc where blocks of color would be a huge help for clarity.
If anyone have any ideas on how this could be done it would be awesome
visual-studio-code
add a comment |
up vote
1
down vote
favorite
Abit of a longshot as this is more like a paint program or word/excel stuff and not really related to a programming language/struct syntax.
But is it possible at all to make either VScode do it or an extension to do it so i would be able to mark blocks of text and give them different background colors ?
Reason why i would like it is that i often have the need to be able to specify explanations etc where blocks of color would be a huge help for clarity.
If anyone have any ideas on how this could be done it would be awesome
visual-studio-code
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Abit of a longshot as this is more like a paint program or word/excel stuff and not really related to a programming language/struct syntax.
But is it possible at all to make either VScode do it or an extension to do it so i would be able to mark blocks of text and give them different background colors ?
Reason why i would like it is that i often have the need to be able to specify explanations etc where blocks of color would be a huge help for clarity.
If anyone have any ideas on how this could be done it would be awesome
visual-studio-code
Abit of a longshot as this is more like a paint program or word/excel stuff and not really related to a programming language/struct syntax.
But is it possible at all to make either VScode do it or an extension to do it so i would be able to mark blocks of text and give them different background colors ?
Reason why i would like it is that i often have the need to be able to specify explanations etc where blocks of color would be a huge help for clarity.
If anyone have any ideas on how this could be done it would be awesome
visual-studio-code
visual-studio-code
asked Nov 7 at 6:58
MdTp
576
576
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
This extension: Highlight. Can be scoped to language (plaintext here .txt
):
"highlight.regexes": {
"(@note)(.+)": {
"filterLanguageRegex": "plaintext",
"decorations": [
{
"backgroundColor": "#a37acc",
"color": "#fff"
},
{
"backgroundColor": "#bd9fda",
}
]
},
"(@important)(.+)": {
"filterLanguageRegex": "plaintext",
"decorations": [
{
"backgroundColor": "#ff3333",
"color": "#fff"
},
{
"backgroundColor": "#F07171"
},
]
},
},
You probably don't want to use plain words highlighting. Use something with a special sign before/after, like @
.
@note useful to know
@important everything on fire
that would be an approach i could use - thanks alot !
– MdTp
Nov 8 at 18:06
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
This extension: Highlight. Can be scoped to language (plaintext here .txt
):
"highlight.regexes": {
"(@note)(.+)": {
"filterLanguageRegex": "plaintext",
"decorations": [
{
"backgroundColor": "#a37acc",
"color": "#fff"
},
{
"backgroundColor": "#bd9fda",
}
]
},
"(@important)(.+)": {
"filterLanguageRegex": "plaintext",
"decorations": [
{
"backgroundColor": "#ff3333",
"color": "#fff"
},
{
"backgroundColor": "#F07171"
},
]
},
},
You probably don't want to use plain words highlighting. Use something with a special sign before/after, like @
.
@note useful to know
@important everything on fire
that would be an approach i could use - thanks alot !
– MdTp
Nov 8 at 18:06
add a comment |
up vote
1
down vote
accepted
This extension: Highlight. Can be scoped to language (plaintext here .txt
):
"highlight.regexes": {
"(@note)(.+)": {
"filterLanguageRegex": "plaintext",
"decorations": [
{
"backgroundColor": "#a37acc",
"color": "#fff"
},
{
"backgroundColor": "#bd9fda",
}
]
},
"(@important)(.+)": {
"filterLanguageRegex": "plaintext",
"decorations": [
{
"backgroundColor": "#ff3333",
"color": "#fff"
},
{
"backgroundColor": "#F07171"
},
]
},
},
You probably don't want to use plain words highlighting. Use something with a special sign before/after, like @
.
@note useful to know
@important everything on fire
that would be an approach i could use - thanks alot !
– MdTp
Nov 8 at 18:06
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
This extension: Highlight. Can be scoped to language (plaintext here .txt
):
"highlight.regexes": {
"(@note)(.+)": {
"filterLanguageRegex": "plaintext",
"decorations": [
{
"backgroundColor": "#a37acc",
"color": "#fff"
},
{
"backgroundColor": "#bd9fda",
}
]
},
"(@important)(.+)": {
"filterLanguageRegex": "plaintext",
"decorations": [
{
"backgroundColor": "#ff3333",
"color": "#fff"
},
{
"backgroundColor": "#F07171"
},
]
},
},
You probably don't want to use plain words highlighting. Use something with a special sign before/after, like @
.
@note useful to know
@important everything on fire
This extension: Highlight. Can be scoped to language (plaintext here .txt
):
"highlight.regexes": {
"(@note)(.+)": {
"filterLanguageRegex": "plaintext",
"decorations": [
{
"backgroundColor": "#a37acc",
"color": "#fff"
},
{
"backgroundColor": "#bd9fda",
}
]
},
"(@important)(.+)": {
"filterLanguageRegex": "plaintext",
"decorations": [
{
"backgroundColor": "#ff3333",
"color": "#fff"
},
{
"backgroundColor": "#F07171"
},
]
},
},
You probably don't want to use plain words highlighting. Use something with a special sign before/after, like @
.
@note useful to know
@important everything on fire
answered Nov 8 at 15:05
Alex
8,89723552
8,89723552
that would be an approach i could use - thanks alot !
– MdTp
Nov 8 at 18:06
add a comment |
that would be an approach i could use - thanks alot !
– MdTp
Nov 8 at 18:06
that would be an approach i could use - thanks alot !
– MdTp
Nov 8 at 18:06
that would be an approach i could use - thanks alot !
– MdTp
Nov 8 at 18:06
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53184797%2fpossible-at-all-vscode-option-or-extenstion-to-manually-color-markup-words-no%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password