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

Quick Question: Setting Pulldown-Cmark Options #47

Open
Tloru opened this issue Apr 29, 2021 · 0 comments
Open

Quick Question: Setting Pulldown-Cmark Options #47

Tloru opened this issue Apr 29, 2021 · 0 comments

Comments

@Tloru
Copy link

Tloru commented Apr 29, 2021

If I have something like this:

#[derive(Content)]
struct Thing {
    #[md]
    content: String,
}

And I want to render the following markdown (note, has a table):

# This is Markdown
Nice table:

| this | that |
| ---- | ---- |
|    2 |    1 |

Rendering tables with pulldown-cmark requires one to set the ENABLE_TABLES option.

Does Ramhorns support tables in Markdown? More generally, does it support setting Options for #[md]? Or do we need to pull in pulldown-cmark and do this manually?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant