Hidden/never explained features of presentation mode

Loqseq lacks proper documentation for many of its features, but I think the most glaring is the presentation mode.

By trial and error here are some of my surprising finds:

  • you can change the background color of a slide by adding the property data-background-color to the slide, for example data-background-color:: mistyrose.
  • Macros are rendered in the slides the same way as in blocks.
  • You CAN create lists and nested list as long they are inside a single block.
  • You can render html code in slides as long as they are closed, i.e. <span></span> works but <br> does not. However, <br /> does. Not everything works, though, for example <hr /> renders inside the block but not in the slide.
  • If you fold a block, the slide will ignore the existence of its children.
    And so on and so forth.

Is there any kind of documentation on this? Or the very least some notes made during development?

3 Likes

Did you find any other hidden features? How did you figure this out?

How did you figure this out?

By actively using and tweaking the presentation mode for half a year. Later, I also inspected Logseq’s source code.

Did you find any other hidden features?

Pretty much every function of reveal.js works except Speaker View, Print and Code Animations. Plugins that do not rely on external APIs and render in blocks also render inside the slides with differing results. For example, Logseq Furigana, logseq-mermaid-plugin, haydenull’s Exalidraw, Block Calendar, etc. render, albeit some require writing some custom css for better rendering or a bit of thinking outside the box. Plugins like Markmap, Diagrams as Code, etc. do not work.

See also Patching up the Presentation Mode

1 Like