Skip to content

Labeled list indentation in 6.8+ darkfish is inconsistent with previous versions #1227

@flavorjones

Description

@flavorjones

Labeled list indentation seems to have changed, and I'm not sure that it was an intentional change.

Previously, the list syntax [title] always had a visual line break before the value, while title:: stayed on the same line. Now, the value always starts on the same line as the title.

From the RDoc::MarkupReference docs, here's how it renders in older darkfish:

image

And here's how it renders with the style changes in 6.8:

image

As a result, markup like this:

# [Parameters]
# - +input+ (String) RELAX NG schema definition
# - +options:+ (Nokogiri::XML::ParseOptions)
#   Defaults to ParseOptions::DEFAULT_SCHEMA

which used to render well:

image

now renders oddly:

image

I'll take a look in the next few days, but wanted to capture what I'm seeing before I forget.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions