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

How to format the html in html! macro? #2738

Closed
Mng12345 opened this issue Jun 17, 2022 · 1 comment
Closed

How to format the html in html! macro? #2738

Mng12345 opened this issue Jun 17, 2022 · 1 comment
Labels
bug ergonomics macro Issues relating to our procedural or declarative macros

Comments

@Mng12345
Copy link

Problem
I found that the html code in html! macro can not be formatted when saving the file in vscode.
Steps To Reproduce
Steps to reproduce the behavior:

  1. Edit some place.
    image
  2. Save the file.
    image
    As you can see, the code is still not formatted.
    Environment:
  • Yew version: [v0.19, master]
  • Rust version: [1.61.0, stable]
  • Target, if relevant: [wasm32-unknown-unknown]
  • Build tool, if relevant: [ wasm-bindgen, trunk]
  • OS, if relevant: [windows10]
  • Browser and version, if relevant: [Chrome v100]
@Mng12345 Mng12345 added the bug label Jun 17, 2022
@WorldSEnder WorldSEnder added ergonomics macro Issues relating to our procedural or declarative macros labels Jun 17, 2022
@ranile
Copy link
Member

ranile commented Jun 19, 2022

Thanks for filing an issue.I'm going to close this as it is a duplicate of #1446

If something is missing, please comment on that issue

@ranile ranile closed this as not planned Won't fix, can't repro, duplicate, stale Jun 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ergonomics macro Issues relating to our procedural or declarative macros
Projects
None yet
Development

No branches or pull requests

3 participants