When justifying a math statement, I often use the following pattern:
begin{align*}
ax^2 + bx + c &= 0\
x &= frac{-b pm sqrt{b^2 - 4ac}}{2a} & text{applying the Quadratic Formula}
end{align*}
I’ve tried to do this in github flavoured markdown using a link to a page explaining the process, like this:
begin{align*}
ax^2 + bx + c &= 0\
x &= frac{-b pm sqrt{b^2 - 4ac}}{2a} & text{by the [Quadratic Formula](link/to/formula)}
end{align*}
Unfortunately this seems to break the align environment, and now the render of this .md
file shows the latex code as plaintext. Is there a way around this? I’ve tried a relative link, normal links and a number of other solutions. If possible, I would like to continue using the align environment with a link of some sort within the align environment.
If it’s relevant, I’m doing this on a github-wiki page and both the page doing the linking, and the linked page are present in the wiki.
kipawaa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.