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

[Code] Add indent and hidden characters render #49

Merged
merged 2 commits into from
Oct 21, 2024
Merged

Conversation

SergioRibera
Copy link
Owner

@SergioRibera SergioRibera commented Oct 21, 2024

Indent chars:
It can be a list of characters to iterate through to distinguish the levels of indentation.

command for image example: --indent-chars "│,┊"
image

Hidden Characters:

This supports:

  • tab
  • space
  • end of line

command for image example: --hidden-chars "space:·,tab:»,eol:¶"
image

@SergioRibera SergioRibera added enhancement New feature or request rust Pull requests that update Rust code labels Oct 21, 2024
@SergioRibera SergioRibera self-assigned this Oct 21, 2024
@SergioRibera SergioRibera merged commit 7bf1af1 into main Oct 21, 2024
5 checks passed
@SergioRibera SergioRibera deleted the code_indent_lines branch October 21, 2024 21:04
SergioRibera added a commit that referenced this pull request Oct 22, 2024
[Code] Add indent and hidden characters render
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant