1.2.7 • Published 4 years ago

@forter/html-viewer v1.2.7

Weekly downloads
47
License
Apache-2.0
Repository
github
Last release
4 years ago

fc-html-viewer

Display themed syntax highlighted HTML.

⚠️⚠️ This component is deprecated and might be unstable. please use fc-highlight. ⚠️⚠️

Usage

<script>
   import '@forter/html-viewer';
</script>

<fc-html-viewer>
   <fc-avatar attr="test"></fc-avatar>
</fc-html-viewer>

Slots

NameDescription
markup of HTML to prettify. example: <fc-avatar abbr="test"></fc-avatar>

CSS Custom Properties

PropertyDescription
--fc-html-viewer-attr-colorattr color. example: var(--yellow-9), default: var(--orange-9)
--fc-html-viewer-null-colornull color. example: var(--yellow-9), default: var(--red-9)
--fc-html-viewer-tag-colortag color. example: var(--yellow-9), default: var(--green-9)
--fc-html-viewer-value-colorvalue color. example: var(--yellow-9), default: var(--cyan-9)
1.2.7

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.18

4 years ago

1.1.17

4 years ago

1.1.16

4 years ago

1.1.15

4 years ago

1.1.14

4 years ago

1.1.13

4 years ago

1.1.12

4 years ago

1.1.11

4 years ago

1.1.10

4 years ago

1.1.9

4 years ago

1.1.8

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago