Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Highlighting texts inside '~~~diff ' #184

Open
liuderchi opened this issue Feb 5, 2017 · 0 comments
Open

Highlighting texts inside '~~~diff ' #184

liuderchi opened this issue Feb 5, 2017 · 0 comments

Comments

@liuderchi
Copy link

hope we can highlight text inside ~~~diff syntax with visual effect below:

highlight this:

~~~diff
-@import "packages/file-icons/styles/icons";
-@{pane-tab-selector},
.icon-file-directory {
	&[data-name=".git"]:before {
-		.git-icon;
+		font-family: Devicons;
+		content: "\E602";
	}
}
~~~

into this:

~~~diff
-@import "packages/file-icons/styles/icons";
-@{pane-tab-selector},
.icon-file-directory {
	&[data-name=".git"]:before {
-		.git-icon;
+		font-family: Devicons;
+		content: "\E602";
	}
}
.~~~

NOTE: currently texts anywhere have same scope

source.gfm
markup.code.diff.gfm
source.embedded.diff
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant