v0.25.0: Folding, pinning, file monitoring, scroll improvements
Here’s another big update that I had planned to be a small update instead. I hope you like features!
Document folding
Deepdwn now supports persistent document folding.
With this change, you can collapse entire sections of your markdown documents based on heading level.
Any heading ending in ...
(three periods) is considered “folded” and will remain folded, even when the file is saved and reopened again later.
To unfold a heading you can:
- Click the collapsed
...
item - Delete the
...
item - Use a shortcut key (below) to unfold all headings
- Double click the heading prefix:
#
(Works too fold a heading also!)
There are new key shortcuts for this feature as well:
Sublime
- Ctrl Shift [ Fold the current section
- Ctrl-K Ctrl-1 Fold all sections
- Ctrl-K Ctrl-0 Unfold all sections
- Ctrl-K Ctrl-J Unfold all sections
Emacs
- Ctrl-x Ctrl-h Fold current section
- Ctrl-x Ctrl-t Fold all sections
- Ctrl-x Ctrl-a Unfold all sections
Vim
- zc Fold current section
- zC Fold all sections
- zO Unfold all sections
These and all other key shortcuts can be found at https://support.deepdwn.com/docs/guide/shortcuts
File system updates
Deepdwn now knows when files are changed.
If another application updates a file that Deepdwn knows about, the updated version will be immediately visible in Deepdwn. If files or folders have been added or removed, you’ll see them immediately in the application, without having to rescan your folders. As such, the rescan folders button has been removed when this feature is enabled.
If you have unsaved changes to that file, you’ll be prompted to choose between keeping your changes, accepting the external changes, or saving a copy in order to keep both. If the file has instead been deleted by another application (and you have unsaved changes), the file will be moved to the Drafts filter with your unsaved changes.
File monitoring can be disabled, which will return the rescan folder button, from the new “Advanced” section in preferences.
Here, you’ll also be able to use poll-based file monitoring. This method is less efficient, but may be necessary if your files are stored on a network drive where filesystem events aren’t available.
Smooth synced scrolling
Synchronized preview scrolling has been revamped, and is now much smoother. Previously, the preview window would jump immediately to top level elements as you scrolled past them in the editor. With this update, the scroll position will be interpolated between these elements as well. Anyway, it’s better now.
Old
New
Document pinning
Documents can now be pinned the top of the file list panel. Pinned files ignore folder/category/tag filtering (but not search filtering) so that they’ll always be visible.
You can either pin files by right-clicking on the file and choosing ‘pin file’ from the context menu, or you can add pinned: true
to your document’s metadata.
title: My favorite file
pinned: true
Highlight headings when jumping
When clicking headings in the outline view to jump to that position in the editor, the heading will now be highlighted for a moment in the editor.
Tweaks
- Improve display of file search field when focused
- Animation changes for file reordering in file list (ex: when pinning documents)
- Three periods are required to form ellipses in the preview, rather than two
- Fixed deleted files remaining in parent and ancestor folders
- Fixed added files not appearing in ancestor folders
- Text centered with
-> <-
now uses paragraph tag instead of div in preview. - Library and security updates
Bugfixes
- Fix document title and metadata not being restored after reverting changes to a file
- Fix document content not being (immediately) restored after reverting changes to a file
- Disabled outdented headings in VIM mode. These are (unfortunately) broken outside of insertion mode.
- Fix incorrect heading label for screen readers in font preferences
Get Deepdwn
Deepdwn
Markdown editor and organizer
Status | Released |
Category | Tool |
Author | billiam |
Tags | fountain, jotdown, markdown, markdown-editor, note-taking, productivity, screenshake, Text based, text-editor, writing |
Accessibility | High-contrast |
More posts
- v0.41.0: Preferences and Mac updates4 days ago
- v0.40.2: Autocomplete bugfixJul 20, 2024
- v0.40.1: Lint and folding bugfixesApr 24, 2024
- v0.40.0: Footnote previews + linking, navigation historyJan 06, 2024
- v0.39.0: BIG UPDATE - Fountain, diagrams, autocomplete, monospace font select...Mar 17, 2023
- v0.38.0: Mac ARM build, font selection, many bug fixesFeb 06, 2023
- v0.37.1: Mostly bugfix editionDec 30, 2022
- v0.37.0: Minor search update, bugfixesSep 10, 2022
- v0.36.1: Outline and table improvementsAug 06, 2022
- v0.36.0: Better HTML paste and synced scrollingMay 14, 2022