github - How do I turn a h2 Markdown header into a link? -
i'm new creating sites jekyll , markdown in general, please tell me if there wrong approach.
my code is:
[## red hat certified systems administrator (rhcsa) guide]({% post_url 2017-09-11-rhcsa %})
the output expecting h2 header that's link. however, when serve page using jekyll, link works perfectly, instead of link text being h2 header, contains ## red hat certified systems administrator (rhcsa) guide
.
so, how nest <h2>
tag inside <a href>
tag using markdown?
okay, guys... turns out i've been monumentally stupid. while i'm still confused why markdown won't accept header tag inside link, there's simple workaround!
simply put ##
tag outside link's brackets. thus, proper code (that works) is:
## [red hat certified systems administrator (rhcsa) guide]({% post_url 2017-09-11-rhcsa %})
so, link google.co.in become:
## [google](https://google.co.in)
output :
thanks viewed question , tried help.
i leave here in hopes 1 day unfortunate soul lands here in same predicament did , finds this.
Comments
Post a Comment