Skip to content

How to Detect new lines #247

@omidp

Description

@omidp

Hi,

I'm trying to create a custom pegdown serializer by implementing org.pegdown.ast.Visitor and I have a problem with parsing new line.
for example I can't distinguish between this two paragraphs

This is test.

This is

test.

none of org.pegdown.ast.Visitor interface methods can not detect new line. is there anyway to catch this ?

I'm new to pegdown.
Thanks in advanced.

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