trulia / hologram

A markdown based documentation system for style guides.
http://trulia.github.io/hologram
Other
2.16k stars 199 forks source link

Odd linking behavior #224

Open chris-canipe opened 9 years ago

chris-canipe commented 9 years ago

I'm using 1.4.0 and trying to create a link using the [link description][component_name] syntax. What's odd is that the link does not work within HTML unless a link has already been specified outside of HTML.

For example:

<figure>
  <figcaption>[link description][component_name]</figcaption>
</figure>

Outputs the literal syntax:

[link description][component_name]

However:

[link description][component_name]
<figure>
  <figcaption>[link description][component_name]</figcaption>
</figure>

Outputs the links:

link description
link description