itch.io is community of indie game creators and players

Devlogs

v0.20: Image drag and drop, pasting, dark preview

Deepdwn
A downloadable application for Windows, macOS, and Linux

This update brings a couple of long overdue features, alongside some bells and whistles.

Local image handling

Deepdwn can now display images from your local machine. Both absolute paths, and paths relative to the current document are supported. Setting an image directory via yaml frontmatter may be supported later.

For example:

![A Happy goat!](/home/myname/pictures/goat.jpg)
![A Happy goat!](../goat.jpg)
![A Happy goat!](C:\Users\MyName\Pictures\goat.jpg)

Note that paths with spaces in them are not supported in markdown, so you’ll either want to replace these with URL escaped space characters %20, ex:

![My Image](path/to/my/file%20with%20spaces.jpg)

or wrap the whole path in angle brackets

![My Image](<path/to/my/file with spaces.jpg>)

Drag and drop

To make working with local images a little easier, Deepdwn now also supports image drag and drop.

If your current file has been saved at least once, the image will use a relative path from your markdown file to the image.

If your file has not been saved, Deepdwn will use the absolute path to your file.

Image pasting

Deepdwn now also supports pasting PNG and JPG image data directly.

If you copy an image, or a section of an image, and paste it into the editor, a new file will be created in the same directory as the file (if youl document has been saved). For unsaved markdown documents, the image will be added to your first document directory instead.

Preview dark mode

The preview window now respects the application dark mode setting, including diagrams and music. When saving a PDF from the preview window, the PDF will still use the light theme as before.

Minor changes

  • Increased contrast for guitar tabs and chord diagrams
  • Skip spellchecking for raw urls (links that aren’t using the [text](url) syntax)
  • Added a link to the support site to the help menu
  • Changed the default theme for diagrams to a more gray palette. In a future update, these will be themed around the selected accent color.
  • Two new key shortcuts for reverse sorting the selected lines in the default keybindings (ShiftF9 and CtrlShiftF9 for case-insensitive). Complete list here: Shortcuts →

Bugfixes

  • Fix incorrect icon color when hovering over the word “Preferences” in the preferences button
  • Fix text always being out of alignment for some diagrams
  • The word count displayed below the editor will now show 0 for empty documents, instead of 1
  • Fixed small horizontal gaps in table separators in preview
  • Fixed crash related to syntax highlighting, in some weird cases, for diagram and music code blocks

And lastly

Lastly, as promised, the price of Deepdwn is increasing. This will likely happen again in the future

Download Deepdwn
Read comments (2)