wzpan / hexo-tag-bootstrap

Bootstrap tag plugins for Freemind.
MIT License
26 stars 8 forks source link

Support for parsing `[content](link)` #11

Closed tommyjiang closed 4 years ago

tommyjiang commented 6 years ago

Hope to replace text as [content](link) and realize the following function:

{% label [content](link) default %}

convert to:

<span class="label label-default"><a href="link" target="_blank">content</a></span>
noraj commented 6 years ago

@tommyjiang Can you translate what do you mean in english please? Translators are not very accurate.

wzpan commented 6 years ago

Hmm. I guess he wants to support hyperlink in all the tags.

tommyjiang commented 6 years ago

Yeah, that's true. I just use label as an example.

wzpan commented 4 years ago

@tommyjiang I will release a new version to support this request soon. Actually I have accomplished this feature in my own blog.

wzpan commented 4 years ago

@tommyjiang try upgrade to 0.2.1 and it should works.

{% label [content](link) default %}
tommyjiang commented 4 years ago

@wzpan Thank you.