v0.26.0: Table editing edition
Live tables
Verion 0.26 brings a shiny new table editor to Deepdwn!
Tables are realigned automatically while editing. You can press tab (and shift tab) to jump between columns, or press enter to move to the next row.
You can find the shortcuts for adding, removing, sorting, and moving columns and rows here: Shortcuts. Most of these are also available when using vim or emacs shortcuts as well.
Adding and removing columns
In addition to the more explicit shortcuts above, new columns can be added by typing a pipe character ( |
) in an existing table cell.
Similarly, you can delete a pipe character if the column before that character is empty (not counting the header), and the entire column will be removed.
Table alignment with CJK characters
When Deepdwn adds spaces to pad out column widths, CJK (Chinese, Japanese and Korean) characters will be treated as exactly twice the width of latin characters.
There are some fonts, too large to include with Deepdwn, where latin characters are exactly half the width relative of CJK characters, such as Sarasa Mono. If you install one of these and use it as your editor font in Deepdwn, your tables will line up perfectly, even with a mix of CJK and non-CJK characters.
Sarasa Term UI shown:
Table formatting styles
Tables can either have pipe characters at the start and end of each line (“closed” tables), or they can be “open”, where each line does not start and end with a pipe.
Here’s a closed table:
| heading | heading |
|---------|---------|
| hello | hello |
and an open table:
heading | heading
--------|--------
hello | hello
Because of markdown formatting rules, open tables are slightly more compact, but aren’t quite as flexible. Closed tables are required if any cells in the first column are empty, for instance. Closed tables can also be a single column wide, where open tables must have at least two columns.
You can toggle between open and closed table formatting styles by adding (or removing) a pipe character at the very beginning of the table.
No thank you
There may be times when you don’t want to automatically reformat tables while editing them, perhaps because the alignment causes wrapping in your editor.
You can disable automatic table formatting in Preferences > Input
. When table formatting is disabled, you may still use all of the table editing shortcut keys to edit and format tables.
I’m planning to continue improving table editing in Deepdwn incrementally, so please report issues and annoyances that you find to the support or feature discussion boards (as appropriate).
Typewriter mode
This update also has a few (mostly) visual tweaks for typewriter mode
- Smoothly scroll to the active line position for initial scrolling, or if scrolling more than one line, but use immediate scrolling
- Allow centered typing, even for very short documents
- Visually represent the top of the document in typewriter mode
Tweaks
- The statistics/backreference panel no longer opens when clicking the panel itself, and will open only when clicking the expand button.
- Replaced most in-app icons
- Add icons to filter panel section headings, small updates to visuals
- Changed display of file counts in filter panel
- Removed zebra striping from file panel
- Removed animation used when files are reordered from the file panel for the initial application load. Animation still used when pinning files and filtering.
Bug fixes
- Fixed missing file synopsis in the file list panel when compact file view was disabled. Synopses no longer contain markdown formatting.
- Fixed several hover effects in high-contrast mode
- Fixed unexpected document scrolling when changing from one document to another in some cases
- Fixed unexpected document scrolling when returning to editor after scrolling while the editor or window was not focused
- Fixed slow animation of outline panel separator on app load and when changing theme.
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.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
- v0.35.0: Discord integration, tag autocompleteApr 10, 2022