Skip to content

Ability to return an object rather than Markdown directly #79

@PrzemyslawKlys

Description

@PrzemyslawKlys

I have this scenario where I know very little HTML. I can read it, but I can't really get an HTMLAgility pack to "prepare" document for preprocessing with reversemarkdown.

I was thinking about two things:

  • ability to provide MAP what I need from HTML I imagine there would be different cases here
    • choose a tag
    • choose a tag but only if it has a class of X
    • ...
  • ability to get an output as array of objects - this would allow me to "pick" objects I want and don't want.

Both scenarios would be useful for me. For example, I know the HTML has two pre tags, 7 p tags, some duplicated content with different classes, and so on. This would allow me to filter out some stuff before it reaches to markdown.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions