8000 More syntax changes with code blocks in mli/mld files · Issue #467 · realworldocaml/mdx · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

More syntax changes with code blocks in mli/mld files #467

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

Open
jonludlam opened this issue Mar 23, 2025 · 0 comments
Open

More syntax changes with code blocks in mli/mld files #467

jonludlam opened this issue Mar 23, 2025 · 0 comments

Comments

@jonludlam
Copy link
Contributor

odoc-parser now parses the tags in code blocks. The syntax is:

{@ocaml tag "tag two" key=value "key two"="value two" [
...code...
]}

This is not compatible with the syntax used by mdx, where we have comma-separated tags or relations. One easy fix is that we could simply have mdx's labels as a key-value pair:

{@ocaml mdx-labels="skip,ocaml,version<=4.06,os_type<>Win32" [
...
]}

Thoughts?

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
0