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 user-defined header definitions #19

Closed
Tracked by #16
tisonkun opened this issue Jan 5, 2023 · 0 comments · Fixed by #43
Closed
Tracked by #16

Support user-defined header definitions #19

tisonkun opened this issue Jan 5, 2023 · 0 comments · Fixed by #43
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@tisonkun
Copy link
Member

tisonkun commented Jan 5, 2023

mapping enables users to define their own mapping logic. And it's common for users to want to extend the HeaderDefinition that can be used.

The config structure can be:

[headerDefinitions.my_favorite_style]
firstLine = "..."
endLine = "..."
# ...

... and then referred in the mapping section:

[mapping]
rs = 'my_favorite_style'

References:

@tisonkun tisonkun mentioned this issue Jan 5, 2023
20 tasks
@tisonkun tisonkun added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Jan 5, 2023
This was referenced Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant