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

support tree node comment aligning #12

Open
aprilandjan opened this issue Jul 14, 2020 · 3 comments
Open

support tree node comment aligning #12

aprilandjan opened this issue Jul 14, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@aprilandjan
Copy link
Owner

For example:

# dist # the built files
# src # the source codes
## index.js # the entrypoint

turns into:

.
├── dist ......... the build results
└── src .......... the source codes
    └── index.js . the entrypoint
@aprilandjan aprilandjan added the enhancement New feature or request label Jun 25, 2021
@aprilandjan aprilandjan self-assigned this Jun 25, 2021
@aprilandjan aprilandjan added this to the 2.0 milestone Jun 25, 2021
@mahyarmirrashed
Copy link
Contributor

I think this is a great idea! Would you want to have \# be an escape sequence for having a literal # in the comment?

@aprilandjan
Copy link
Owner Author

@mahyarmirrashed yeah but it seems that using double forward slash // to representing the comment might be more suitable because the # is valid pathname in both mac and windows while / is not

@sz-p
Copy link

sz-p commented Aug 21, 2024

Could we add node comment by comment in file? see @file

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

No branches or pull requests

3 participants