Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MDList Block Feature Is Limited #158

Open
jrg94 opened this issue Sep 11, 2023 · 0 comments
Open

MDList Block Feature Is Limited #158

jrg94 opened this issue Sep 11, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@jrg94
Copy link
Member

jrg94 commented Sep 11, 2023

The MDList block supports listing off blocks. But, if there is a need to allow multiple blocks for a single list item, there's no obvious way to do it. My current use case is to include a table under a bullet. The table feature might already be bugged, but there is no way right now to allow a paragraph and then a table to be included under a single bullet. I had to hack something together that looks like this:

snakemd.Raw(f"(12 points; 2 points each) True/False: for each of the following statements, indicate whether it is true or false by circling the appropriate value.\n\n{tf_table}")

In this example, tf_table is a table object. I also had to make use of the indent feature to make sure this nests under the bullet correctly. Definitely not ideal!

@jrg94 jrg94 added the enhancement New feature or request label Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant