Skip to content

3.8 - Layout issues #1526

Closed
Closed
@tgit-hub

Description

@tgit-hub

Introduction

The recent release of 3.8 has resulted in some layout issues for me and I am attempting to determine if I need to change my generated pages or if this is a problem with this release. If this is a "me" problem, then I have 2 years worth of docs (1,000+) to review and change before I can switch to 3.8.

I have narrowed down one issue and attached is a simple docker-compose project with three services - 3.7, 3.8 and 3.8-fix - that highlights the issue and a potential change I need to make, albeit that the results are not identical to 3.7.

The issue identified concerns the layout/format of multiple div tags. One example being:

<div style="display: inline-flex" markdown>
  <div class="circle"></div>AAAAA<div class="circle"></div>BBBBB<div class="circle"></div><span>CCCCC</span>
</div>

Docker

The are three docker projects, each contain 4 files, a Dockerfile, a python requirements.txt, an mkdocs configuration file and a sample index.md.

The 3.7 and 3.8 projects differ only in pinning the version of markdown and 3.8-fix is the same as 3.8 but with a few minor changes to index.md to mitigate and attempt to resolve the layout issues.

markdown-3.8-problem.tar.gz

Should be a simple case of extracting and running:

docker compose up --build

and then browse to http://localhost:8037/ http://localhost:8038/ and http://localhost:8039/

Screenshots

Image

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions