Roam-Research / issues

Roam Research - A note-taking tool for networked thought.
https://roamresearch.com/
304 stars 7 forks source link

Inline Code Doesn't Render if Inside Link #415

Open macintacos opened 4 years ago

macintacos commented 4 years ago

The following code doesn't render the inline code properly since it's within a link (I'm placing it within a code block to show the syntax; don't include the code block in your repro of the issue):

[here's a link to `something`](https://www.something.com)

The word "something" doesn't get monospaced as I would expect. It ends up looking like this (imagine the word is linked):

here's a link to `something`

The following code doesn't work either (which, surprisingly, does work for page titles):

[here's a link to $$\texttt{something}$$](https://www.something.com)

That just renders this:

here's a link to $$\texttt{something}$$

If you all decide to fix the monospace/latex in links, please make sure they don't break when rendering in titles, because I've been using that as a hack to get page titles to render monospace correctly (since inline code backticks don't work in page titles either) 😅

nerrons commented 3 years ago

This. As a programmer learning new languages it would be amazing to have monospace support in page titles.