Patching up the Presentation Mode

The current state of the Presentation Mode is, unfortunately, quite underwhelming.
However, a large part of it can be fixed by simply adding some custom CSS.

.reveal {
    
    & .embedded {
    aspect-ratio: 16/9;
    height: auto!important;
    }
    
    & ol ol {
        list-style-type: upper-roman;
        
        & ol {
            list-style-type: lower-latin;
        }
    }
}

The above will:

  • Fix the rendering of the preview window
  • Style the first three levels of nested ordered lists differently.

Before:

After:

Amazing work @y_p, THANK YOU! :pray:

I’m about to give some presentations with Logseq, so these snippets come right in time.

@tienson @Charlie it would be nice if this were part of Logseq natively.

Pretty cool! Do you think you could publish this as a plugin? It’d probably get way more attention!

Hi
newbie there
where would you put that css ?

1 Like