Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Document Cross Referencing and Image embedding

A topic by Devilry created Feb 22, 2021 Views: 294 Replies: 3
Viewing posts 1 to 3
(+1)

It would be great if Deepdwn could support: intra-document linking via anchors, inter-document linking, image embedding

I am not sure what syntax would be best to support this. [Hugo](https://gohugo.io/content-management/cross-references/) has these but the syntax might not be considered the best. The thing that would make this really killer is if we could <ctrl-left click> or some key combo when the cursor is on the link and Deepdwn would follow it.

As for image embedding, I am thinking of the way vscode supports it with a `![path/to/img.png]`.

P.S. Noticed this when testing regular links, if you could add ctrl-click on a link opening the link in the default browser I would appreciate it.

Thanks for making this, I am really enjoying it so far and finally have an app that meets my general note taking needs.

I’m glad you’re enjoying it!

I’ll have to think about how cross linking should work, but I do like the idea.

I’m not sure what should happen for images, I think those would need to open in an external browser also, though maybe they could be at least previewed within the editor panel.

The markdown links seem the most tricky to me right now. I’d really prefer that they work out of the box without people needing to add deepdwn-specific hints.

There are a number of other things I need to get through first, but I’ll see what I can do. Thanks for the feedback!

(+1)

Version 0.24 added some of these features, as described even.

Document linking uses the normal [title](../my-document.md) link format. No current plans to support specific systems like jekyll or hugo, or wiki links.

Note this may still not meet your needs if your links are not to actual markdown files.

Control clicking external links opens them in a new browser window (if Deepdwn recognizes them). Control clicking document links in the editor, or regular-clicking document links in the preview, will take you to the document.

Control + hovering over the URL portion of image links in the editor will show a small preview of the image (if Deepdwn can find it).

Thanks for the update! I'll have to pull that version and try it out. Sounds like it covers most of my needs.