macro arguments with comma not properly supported
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- ocaml
- Domain
- compilers
Research direction
Start by locating mldoc's macro argument parsing and reproduce the reported {{quote ...}} examples, especially the comma-containing quotation. The work is done when a quote containing commas can be passed without visible quotation marks while the author argument remains separate and existing macro behavior is preserved.
Written by the indexing model from the issue text.
Description
I have created a macro to quickly make quotations which should like this:
If I put the quote argument in quotation marks it looks like this (the quotation marks are shown):
{{quote "All models are wrong, but some are useful", George Box}}
But if I remove them, then it (of course) can't tell where the quote ends:
{{quote All models are wrong, but some are useful, George Box}}
It would be nice if the quotation marks could be removed. Is there a canonical way to do this?
- Dominant language
- OCaml
- Stars
- 280
- Forks
- 30
- Avg merge
- 15m
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from logseq/mldoc
-
pipe input doesn't workPossibly taken @wold9168 claimed this 191 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 58/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
flang:semantics
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
llvm/llvm-project#231051 ·
Maintainers usually reply within 1 day
-
bug derived types format I/O medium priority semantics
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
webgpu-tools/wesl-rs#329 ·
Maintainers usually reply within 1 day