Coder Social home page Coder Social logo

Comments (4)

calculuschild avatar calculuschild commented on September 27, 2024 1

The preferred way to do this is with the curly bracket syntax:

Here is {{myCustomStyle some text}}.

And then the CSS:

.myCustomStyle {
  color: red;
}

Or even:

Here is {{color:red some text}}.

However, your approach should still work. We will look into this.

from homebrewery.

ericscheid avatar ericscheid commented on September 27, 2024

H7 is not a standard html element. Headings are h1 thru to h7.

That said, unrecognised html elements would normally be treated the same as span elements as far as { display: inline; }.

Looking at the html that is rendered into the preview ... and there is no trace of the <h7>.

The unrecognised html has been stripped out. This release has DOMPurify active, which I suspect is causing this.

from homebrewery.

marceloabner avatar marceloabner commented on September 27, 2024

Yeah, my use of headers was useful before on legacy cause typing a header with an autocomplete was quick, but I think using curly brackets is even faster and I keep using the correct standards.

Thanks all for the help and the care in explaining how it works.

from homebrewery.

5e-Cleric avatar 5e-Cleric commented on September 27, 2024

Reopening this to track the actual issue described in the new title

from homebrewery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.