Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spacing of consecutive borderless markdown cells does not match single borderless cell #3714

Open
akshayka opened this issue Feb 7, 2025 · 0 comments

Comments

@akshayka
Copy link
Contributor

akshayka commented Feb 7, 2025

Consecutive borderless markdown cells have substantial padding between them, making them look awkward compared to a single cell containing the same markdown content.

A small issue, but something I have frequently noticed and find distracting as I make example notebooks meant to be viewed in edit mode.

Image

import marimo

__generated_with = "0.11.0"
app = marimo.App()


@app.cell(hide_code=True)
def _(mo):
    mo.md(
        """
        ## Example

        This is an example in a single cell
        """
    )
    return


@app.cell(hide_code=True)
def _(mo):
    mo.md(r"""## Example""")
    return


@app.cell(hide_code=True)
def _(mo):
    mo.md(r"""This is an example in two cells.""")
    return


@app.cell
def _():
    import marimo as mo
    return (mo,)


if __name__ == "__main__":
    app.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant