Comments (4)
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.
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.
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.
Reopening this to track the actual issue described in the new title
from homebrewery.
Related Issues (20)
- FAQ info panel needs info HOT 2
- Discrepancy with link building in userpage HOT 2
- Extend Markdown testing to include variable testing HOT 1
- Brew refused to save
- Saving Error HOT 1
- Reorder General Purpose Snippets from 5ePHB and.or 5eDMG to Blank theme HOT 1
- Emojis don't like to be hidden
- Server times out if trying to access `/account` while not logged in HOT 4
- "Helper/Guide" feature for snippets
- Markdown: Functions break if a variable name is a substring of the function names HOT 1
- Theme: Themes can select themselves as Theme Source HOT 4
- Math functions with multiple parameters cannot take variable names HOT 3
- Move GDrive/Database save location toggle to Properties Editor
- Brand New Issue
- ImageKit.io API integration
- Non-used URLs open bugged new page HOT 2
- Using scaleX or scaleY parameters causes skewing in rotated masks HOT 1
- Table of contents doesn't print accents in uppercase letters at the title HOT 5
- Ability to close search / replace bar HOT 10
- Title with shared link of a cloned brew in newpage shows up as error HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrewery.