-
-
Notifications
You must be signed in to change notification settings - Fork 83
Ability to return an object rather than Markdown directly #79
Copy link
Copy link
Open
Labels
Description
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.
Reactions are currently unavailable