markdown split panel

Today I was playing with markdown split panels. I want to be able to compare and constrast occasionually, today the inspiration hit to do this using...

Today I was playing with markdown split panels. I want to be able to compare and constrast occasionually, today the inspiration hit to do this using admonitions.

screenshot-2025-02-04T02-28-46-750Z.png

Mobile Users 🔄

You will need to rotate your device to see the side by side feature.

The Markdown ¶ #

This is what I am going for, one admonition that is easy to remember, that nests inside of itself , and I can put as much markdown on the inside that I want.

!!! vsplit I Have two opinions

    !!! vsplit Left Opinion

        supporting arguments

        * lorem ipsum
        * ipsum dolor

        - [x] lorem ipsum
        - [ ] ipsum dolor

    !!! vsplit Right Opinion

        supporting arguments

        * lorem ipsum
        * ipsum dolor

        - [ ] lorem ipsum
        - [x] ipsum dolor

Here is the result of that markdown.

I Have two opinions

Left Opinion

supporting arguments

  • lorem ipsum
  • ipsum dolor
  • lorem ipsum
  • ipsum dolor

Right Opinion

supporting arguments

  • lorem ipsum
  • ipsum dolor
  • lorem ipsum
  • ipsum dolor

{.clean}

Vsplit

Hello World

Here is a hello world application written in the typer cli framework for cli.

Vsplit

    ``` python

#!/usr/bin/env -S uv run –quiet –script

/// ¶

requires-python = “>=3.12” ¶

dependencies = [ ¶

“typer”, ¶

] ¶

/// ¶

import typer

app = typer.Typer()

@app.command() def hello(name: str = “World”): “““Prints a greeting message.””” typer.echo(f"Hello, {name}!")

if name == “main”: app()

Connections

Related tags and posts connected to this entry.