You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to convert all of the existing Sample Programs Docs Generator code over to the new library, but there's a problem. The library doesn't support certain actions that we'd like to replicate. One of those actions is creating list items with multiple links. It never dawned on me that we would need to support this, so the existing MDList code only supports InlineText elements. I'm thinking that MDList should support Paragraphs instead.
For reference, SnakeMD doesn't support this:
-:white_check_mark:[Hello World in C\*](https://sample-programs.therenegadecoder.com/projects/hello-world/c-star)[[Requirements](https://sample-programs.therenegadecoder.com/projects/hello-world)]
The text was updated successfully, but these errors were encountered:
One thing that's worth mentioning is that this will make MDList code more messy than it already is. Now, we'll need to nest paragraphs in the list. Granted, the new insert_link() method would make this somewhat easier to grapple with.
Ugh, this is going to cause issues. What if the user provides a paragraph marked as code. That's not going to work. I suppose we can add that to the verification.
Decided to add paragraph as an option in MDList. Then, I added a verification error if that Paragraph happens to be a block. I think this should solve the issue.
This does somewhat mess up the convenience methods because they assume InlineText. That means, the user can't really go back and insert links or any of that jazz. Something to think about.
I'm trying to convert all of the existing Sample Programs Docs Generator code over to the new library, but there's a problem. The library doesn't support certain actions that we'd like to replicate. One of those actions is creating list items with multiple links. It never dawned on me that we would need to support this, so the existing MDList code only supports InlineText elements. I'm thinking that MDList should support Paragraphs instead.
For reference, SnakeMD doesn't support this:
The text was updated successfully, but these errors were encountered: