Raw HTML edit access

Hey Text Blaze Team,

I've got a feature suggestion that I think would be super helpful for formatting!

Right now, my workflow is a pain. Whenever I insert snippets onto my website, I have to reformat everything. This is because Text Blaze's internal HTML formatting is different from what my website expects, and even the way the Snippet formats.

I noticed when opening exported snippets using vscode that you can see the raw HTML. That's exactly what I need! If we had access to the raw HTML of a snippet directly, it would be a game-changer.

This would give us way more flexibility. I could, for instance use different HTML features or make custom headers, stuff that might not be fully supported in Text Blaze right now. Essentially, It's by-passing the differences.

Getting access to that raw HTML would really streamline things and save me a ton of reformatting time!

For security and consistency reasons, we don't currently plan on supporting control over the inserted HTML.

Can you tell us more about the formatting issues you are seeing on insert?

My main 2 concerns are:

  1. Being able to control if text blaze is inserting
    <p>text1<p/>
    <p>text2<p/>
    
    or
    <p>text1<br>text2<p/>
    
    This matters because the output is often inconsistent within an application I use frequently:
    Sometimes it properly separates text using <p>, but with larger snippets, it inserts new lines as <br> more often than not.
    Perhaps you can do something similar to https://onlinehtmleditor.dev, where they have a button allowing you to see how the newlines are being formatted, using a button.
  2. Some extra formatting which doesn't seem to be possible with more complex formulas.
    As far as I have tried, colouring text, that is within a formula such as {=x} does not actually become visible in the output.

Hi Mark,

Thanks for the feedback!

It sounds like you primarily want control over the choice of p/br tags in the output is that right? It's something we can explore further.

For the coloring, outputs of formulas are styled as a single unit. So you can apply bold/italics/etc... at the formula level, but you can't applying styling to different parts of the output. If you need to do that, you will want to break your formula into multiple formulas so you can style the different parts separately.