Open cuibonobo opened 10 years ago
An error in your typing, whether intentional or not, might actually solve the problem. You put ![Alt text](i)
, where i
is the index. As you point out, in regular markdown, to use a markdown-indexed link you use double brackets, ![][]
, but perhaps we could use regular parentheses for the tent index. This would also be consistent with the way mentions work.
I just took a quick look at the docs, and it seems you use refs
to link to other posts, not mentions. Am I missing something somewhere along the line? I'm a complete novice with this kind of thing. I can't really seem to find how refs are used though. Are there examples anywhere?
Ah! Good eye! I suppose the link parser can look at the contents of the parentheses and determine if it's a URL or an index.
Regarding using mentions
or refs
, I took my language directly from the examples for mentions, but you might be right!
I would like to leave this open until we've got a solution in the README.md file.
I'd like for there to be a way to specify inline images within an Essay post. At the moment we can certainly insert images using regular HTML
img
tags (unless they're filtered out), but the HTML tag doesn't allow us to use data Photo posts.My first instinct is to try to use
![Alt text](i)
(similar to regular Markdown) wherei
is the index of the post in thementions
array. My only doubt about using this method is that the indexi
can be a cause for confusion if reference style links are also permitted in TFM.With reference style links, the following would be valid Markdown:
Since there's no way for an app to meaningfully distinguish between an index to the
mentions
array and a reference style link, I believe we'll have to choose one or the other.