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...

Copy this post

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

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()