zzzze / markdown-it-style

A markdown-it plugin - add style to your markdwon
MIT License
1 stars 1 forks source link

Doesn't style <a> elements (anchors/links) #1

Open garyo opened 5 years ago

garyo commented 5 years ago

I added this in my nuxt.config.js:

 use: [
      ['markdown-it-style', {
        'h1': 'font-size: 210%; margin-bottom: 10px',
        'h2': 'font-style: italic; margin-top: 10px',
        'h3': 'margin-top: 10px',
        'a': 'color: #ddddff',
      }]
    ]

and the header styles work fine, but the a elements don't get styled with my link color.

beyondwatts commented 2 years ago

Did you solve this, I am seeing a similar issue for img tags?