Skip to content

Preserve inline-level formatting when rewriting text #2

@mkremins

Description

@mkremins

When rewriting a block of text into a chunk of poetry, we currently disregard inline-level formatting (such as italics and bolded text) entirely. Human-generated blackout poetry, on the other hand, often makes use of formatting in the underlying text to interesting aesthetic effect.

Perhaps we could take steps to preserve inline-level text formatting in the generated poetry by keeping track of where inline-level HTML tags (such as <em> and <strong>) open and close in the source text, then reinserting these tags in the proper places when writing out the poemified HTML.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions