Enable doctag in syntax highlighter
Example: /** * @param test */ Change-Id: I9aeafbb8c29428f18e29a80adafab4e228477d4b
This commit is contained in:
@@ -99,6 +99,7 @@
|
|||||||
'gr-diff gr-syntax gr-syntax-attribute': true,
|
'gr-diff gr-syntax gr-syntax-attribute': true,
|
||||||
'gr-diff gr-syntax gr-syntax-built_in': true,
|
'gr-diff gr-syntax gr-syntax-built_in': true,
|
||||||
'gr-diff gr-syntax gr-syntax-comment': true,
|
'gr-diff gr-syntax gr-syntax-comment': true,
|
||||||
|
'gr-diff gr-syntax gr-syntax-doctag': true,
|
||||||
'gr-diff gr-syntax gr-syntax-function': true,
|
'gr-diff gr-syntax gr-syntax-function': true,
|
||||||
'gr-diff gr-syntax gr-syntax-keyword': true,
|
'gr-diff gr-syntax gr-syntax-keyword': true,
|
||||||
'gr-diff gr-syntax gr-syntax-link': true,
|
'gr-diff gr-syntax gr-syntax-link': true,
|
||||||
|
|||||||
@@ -103,6 +103,9 @@ limitations under the License.
|
|||||||
.gr-syntax-param {
|
.gr-syntax-param {
|
||||||
color: var(--syntax-param-color);
|
color: var(--syntax-param-color);
|
||||||
}
|
}
|
||||||
|
.gr-syntax-doctag {
|
||||||
|
font-weight: var(--syntax-doctag-weight);
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</template>
|
</template>
|
||||||
</dom-module>
|
</dom-module>
|
||||||
|
|||||||
@@ -143,6 +143,7 @@ limitations under the License.
|
|||||||
--syntax-selector-attr-color: #FA8602;
|
--syntax-selector-attr-color: #FA8602;
|
||||||
--syntax-template-tag-color: #FA8602;
|
--syntax-template-tag-color: #FA8602;
|
||||||
--syntax-param-color: var(--primary-text-color);
|
--syntax-param-color: var(--primary-text-color);
|
||||||
|
--syntax-doctag-weight: bold;
|
||||||
}
|
}
|
||||||
@media screen and (max-width: 50em) {
|
@media screen and (max-width: 50em) {
|
||||||
:root {
|
:root {
|
||||||
|
|||||||
@@ -103,6 +103,7 @@ limitations under the License.
|
|||||||
--syntax-regexp-color: #F77669;
|
--syntax-regexp-color: #F77669;
|
||||||
--syntax-selector-attr-color: #80CBBF;
|
--syntax-selector-attr-color: #80CBBF;
|
||||||
--syntax-template-tag-color: #C792EA;
|
--syntax-template-tag-color: #C792EA;
|
||||||
|
--syntax-doctag-weight: bold;
|
||||||
|
|
||||||
background-color: var(--view-background-color);
|
background-color: var(--view-background-color);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user