reversemarkdown-net
reversemarkdown-net copied to clipboard
Ability to return an object rather than Markdown directly
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.
I was think about some use cases on the same lines, have some neat ideas. I will put some thoughts/functionality on my next window of time to work on this. Please bear with me, probably sometime next week or so.