graycoreio / daffodil

Angular Ecommerce PWA Framework
https://next.daff.io
MIT License
155 stars 28 forks source link

[FEAT] Set the title and lead elements in the article component based solely on css selectors instead of directives #2848

Closed damienwebdev closed 2 months ago

damienwebdev commented 2 months ago

:bulb: Feature request

Feature Name

DaffArticleComponent should automatically set the title and lead elements based upon solely css selectors instead of directives

The Desired Behavior

The daffArticleTitle styles should apply to the daff-article h1 tag. The daffArticleLead should apply to the paragraph directly after the h1 tag in article.

Your Use Case

There is no easy way to add directives to markdown files, so we should just move the styles into the appropriate article tags.

Prior Work

Environment


Daffodil version: X.Y.Z
Angular version: X.Y.Z 


For Tooling issues:
- Node version: XX  
- Platform:  

Others: