Sublime Forum

HTML tag to become view-able in text?

#1

Hi,

I was wondering if there is a way to get a HTML tag view-able in text.

For example:

The tag is used to insert images.

On the web-browser it would appear as:

The tag is used to insert images.

Is there a way to make the view-able? If so please comment below. Thanks! :smile:

0 Likes

#2

If I understand you correctly, you need to insert entities in place of the angle brackets, like so: <img>

The StringEncode plugin (github.com/colinta/SublimeStringEncode) will do this for you with the “HTML entitize” function. Install it via package control or as detailed on the plugin’s Github page.

0 Likes