Timeline for Is it possible to use <pre> / <code> preformatted text field within a LWC component HTML file?
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 29, 2020 at 16:22 | comment | added | Emily |
Basically was just looking for a way to show html tags as text, like how in these comments I can show <div>something</div> rather than having the browser evaluate the tags as a div. Like how in the lwc design components show the code snippets of use.
|
|
Jun 29, 2020 at 16:20 | vote | accept | Emily | ||
Jun 29, 2020 at 1:27 | answer | added | sfdcfox♦ | timeline score: 2 | |
Jun 28, 2020 at 23:23 | comment | added | Raul |
Unable to visualize your problem, what do you mean by: LWC is rendering what is inside those tags in the browser instead of ignoring and displaying as text, which is what would normally happen.
|
|
Jun 28, 2020 at 20:48 | history | edited | Emily | CC BY-SA 4.0 |
added 25 characters in body; edited title
|
Jun 28, 2020 at 20:18 | review | First posts | |||
Jun 29, 2020 at 0:39 | |||||
Jun 28, 2020 at 20:12 | history | asked | Emily | CC BY-SA 4.0 |