Lea Verou made a Internet Part for processing Markdown. Seems like there have been a few others on the market already, however I agree with Lea in that it is a good use case for the sunshine DOM (versus the shadow DOM that’s usually fairly helpful for net parts), and that’s what Lea’s does. The output is HTML so I can think about it’s supreme you possibly can fashion it on the web page like some other kind somewhat than should take care of that shadow DOM. I nonetheless really feel like the styling tales for shadow DOM all kinda suck.
The story of the way it got here to be is humorous and extremely relatable. You simply wish to construct one easy factor and it seems you must do 15 different issues and it takes the higher a part of per week.
The demos on the touchdown web page for <md-block> shoot over to CodePen utilizing the prefill API. Figured I’d embed one right here too:
To Shared Hyperlink — Permalink on CSS-Methods
Subscribe to MarketingSolution.
Receive web development discounts & web design tutorials.
Now! Lets GROW Together!