Skip to content

Releases: kepano/obsidian-minimal

4.2.2

24 Dec 03:11

Choose a tag to compare

  • Add support for remote images
  • Fix find in file for Live Preview

4.2.1

23 Dec 18:04

Choose a tag to compare

  • Fix text selection in close blocks
  • Fix image grids hiding Markdown images in some cases

4.2.0

23 Dec 06:02

Choose a tag to compare

Image grids, layout options and new focus mode

I'm very excited about this update because it includes lots of new options that help you format complex notes with data-heavy tables or many images. This might be my favorite release to date!

Minimal 4.2 includes new CSS helper classes that build on Minimal 4.1.7 which contained options for styling rows and columns in tables.

TLDR

  • New Layout settings available in Minimal Theme Settings
  • CSS helper classes
    • Image grids
    • Wider tables, images and iframes
    • Seamless embeds/transclusions
  • Improvements to wide tables on mobile, now scroll horizontally without disrupting the position of text elements
  • Revamped focus mode
  • New border option for note titles
  • New hotkeys
    • Increase/decrease body font size
    • Focus mode
    • Toggle image grids
    • Cycle image width
    • Cycle table width
    • Cycle embed width
  • Fixed Vim mode cursor

Note that many new features in this update require the latest version of the Contextual Typography plugin. More details below.

If you enjoy Minimal consider supporting development at Buy me a coffee ☕️

Screen Shot 2021-12-22 at 21 44 46

Image grids

Image grid started as a snippet I developed a year ago, but became obsolete due to a change in Obsidian. I am excited to say it's back thanks to Contextual Typography — and it works just like before. Any old notes you have that use the img-grid class should now work again. You can also turn on image grids by default.

Image grids are super easy to use, and don't rely on any special syntax. All you do is add an extra line break between images to create a row, and columns take care of themselves.

Class Description
img-grid Turns consecutive images into columns. To make a new row, add an extra line break between images

2021-12-22 21 40 41

Line width control for tables, images and iframes

If you use tables and/or Dataview extensively, you know how challenging it can be to choose a subset of columns that will fit nicely within the line width of your note. Alternatively you can can sacrifice the "Readable line length" setting to give yourself more space, but what if you could have the best of both worlds?

These new options allow you to define the line width per element type. Tables, images, and iframes can now flow outside of the normal line width, to fill more space. You can choose this per element type and per note — and in the future Dataview may add the ability to do so on a per table basis. (See Dataview issue 675)

Class Description
table-100, img-100, iframe-100 Fill 100% of the pane width
table-max, img-max, iframe-max Fill the max line width (default 88%)
table-wide, img-wide, iframe-wide Fill the wide line width

This update also makes it much easier to navigate wide tables on your mobile devices. Tables now scroll horizontally independently so it doesn't cause your whole note to shift, nor does it squeeze table contents into unreadably narrow columns.

2021-12-22 21 59 23
2021-12-22 22 01 32
2021-12-22 22 36 15

I have also shared a dev mode snippet that you can use to see your breakpoint settings.

Focus mode improvements

One of my goals with Minimal is to consistently strive for a more focused editing experience. When Focus Mode is activated, the title bar and status bar fade away and are only displayed when you hover over that area.

You can now set a Focus Mode hotkey and activate it via the command palette.

2021-12-22 21 55 45

New embed helper class

A new helper class is available for transclusions that removes borders, padding and title to make them feel seamlessly integrated into the note.

Class Description
embed-strict Transclusions appear seamlessly in the flow of text

That's all folks! Happy holidays 🎅


Thanks to @mgmeyers for help adding to Contextual Typography

4.1.9

08 Dec 02:47

Choose a tag to compare

Live Preview improvements:

  • Support for rendered Dataview code blocks
  • Better line width support
  • Fixed underline settings for internal and external links

4.1.8

23 Nov 16:13

Choose a tag to compare

Add heading colors to Style Settings

4.1.7

21 Nov 19:30

Choose a tag to compare

New helper classes for tables and Dataview

The following classes can be added on a per-file basis using the cssClasses YAML tag. The classes are composable, so you can include more than one to combine effects.

Class Description
table-small Use small font size in tables
table-tiny Use tiny font size in tables
table-lines Add borders around all table cells
row-lines Add borders between table rows
col-lines Add borders between table columns
row-alt Add striped background to alternating table rows
col-alt Add striped background to alternating table columns

Screenshots

Screenshots show Dataview tables with the Sortable plugin

Default

Screen Shot 2021-11-21 at 11 20 28 AM

Borders and alternating rows

cssClasses: table-lines, row-alt
Screen Shot 2021-11-21 at 11 20 59 AM

Small fonts, row borders and alternating rows (dark mode)

cssClasses: table-small, row-lines, row-alt
Screen Shot 2021-11-21 at 11 34 53 AM

Column borders

cssClasses: col-lines
Screen Shot 2021-11-21 at 11 23 03 AM

Row borders

cssClasses: row-lines
Screen Shot 2021-11-21 at 11 28 40 AM

Small fonts and alternating columns

cssClasses: table-small, col-alt
Screen Shot 2021-11-21 at 11 25 08 AM

Tiny fonts and alternating rows

cssClasses: table-tiny, row-alt
Screen Shot 2021-11-21 at 11 24 50 AM

4.1.6

20 Nov 16:40

Choose a tag to compare

  • Checklist Plugin styling for mobile
  • Improvements to find/replace UI

4.1.5

20 Nov 02:11

Choose a tag to compare

Revamp sync and file recovery modals

4.1.3

19 Nov 20:05

Choose a tag to compare

Add support for new "Backlinks in document" feature (Obsidian v0.13.3)


Screen Shot 2021-11-19 at 12 04 28 PM

Screen Shot 2021-11-19 at 12 04 56 PM

4.1.2

18 Nov 17:20

Choose a tag to compare

  • Makes Editor headings consistent with Preview mode headings in CodeMirror 6 (mobile and Live Preview beta)
  • Add --font-title variable to define file title size separately