Sublime Forum

Replace the text with a tag

#1

Hi everyone,

I have a question that can save me a lot of time. Do you know if it is possible to create a page file that replaces parts of the text?

Example :

My code ↓

h2>A

  • B
  • C

Page ↓

A = Title I want
B = Text 1
C = Text 2

It is the same principle as the mockup on photoshop, you can modify the photos with another file.
This method would save me a lot of time and allow me to link pages with different texts.

Thank you in advance!
Victor :slight_smile:

0 Likes

#2

Do you mean like a template? I’m a little confused as to what you’re asking about (I don’t have Photoshop experience).

0 Likes

#3

It sounds like you might want a snippet for this, but it’s hard to tell because it looks like you put raw HTML in your post and it’s being filtered out. If you edit your question and mark the HTML as being preformatted text (select it and use the </> button) we may be able to better advise you.

0 Likes