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

Weird collapsible formatting in field-group #2426

Open
stijns96 opened this issue Oct 20, 2024 · 3 comments
Open

Weird collapsible formatting in field-group #2426

stijns96 opened this issue Oct 20, 2024 · 3 comments
Labels
bug Something isn't working pro triage

Comments

@stijns96
Copy link

Environment

  • Operating System: Darwin
  • Node Version: v20.10.0
  • Nuxt Version: 3.13.2
  • CLI Version: 3.14.0
  • Nitro Version: 2.9.7
  • Package Manager: [email protected]
  • Builder: -
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Version

v2.18.7

Reproduction

Description

This outputs two unnecessary :: at the end. Looks like something is going wrong with the collapsible. Also when I add other fields after the collapsible, it breaks as well.

::field-group
::field{name="fallback_image" type="string"}
::collapsible{name="options"}

test

::
::
::

Additional context

No response

Logs

No response

@stijns96 stijns96 added bug Something isn't working triage labels Oct 20, 2024
@stijns96
Copy link
Author

Looks like prettier is formatting it wrongly... When you have the correct indenting it works like expected. Anybody knows how to fix this?

@rdjanuar
Copy link
Collaborator

maybe you can just add prettier ignore @stijns96 ?

@stijns96
Copy link
Author

Hi @rdjanuar,

Already did that, but that prevents my whole MD from formatting. Need some sort of MDC support, but doesn't really look like there are solutions for that...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pro triage
Projects
None yet
Development

No branches or pull requests

3 participants