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 for multiline strings #22

Merged
merged 3 commits into from
Feb 18, 2025
Merged

Conversation

mirrin00
Copy link
Collaborator

The following conditions are required to use multiline strings in templates:

  1. The template uses {{r field}} instead of {{field}} for multiline insertion
  2. The multiline string starts with &^<\multiline>.

@mirrin00 mirrin00 requested a review from zmm June 14, 2024 19:31
@@ -20,23 +20,30 @@ def __init__(self):

class TemplateRenderer(object):

MULTILINE_PREFIX = "&^<\\multiline>"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, add examples of templates and tables for this feature and update README.md with its description

@HadronCollider HadronCollider merged commit b464936 into master Feb 18, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants