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

Fill template anchors inside custom template strings #145

Merged
merged 2 commits into from
Oct 6, 2023

Conversation

mattseddon
Copy link
Member

Closes #28

This PR makes it possible for users to add anchors into strings for calculation purposes in custom templates.

Note: As this is close to a 1 line change and is non-breaking it makes more sense to split it out from #142.

@mattseddon mattseddon marked this pull request as ready for review October 5, 2023 22:57
src = f"data:image/png;base64,{base64_str}"

return f"\n![{self.name}]({src})"
if x is not None and y is not None:
Copy link
Member Author

Choose a reason for hiding this comment

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

[F] I came across the same issue in #142. The error only happens in the CI. Please LMK if you want me to split this into another PR.

@mattseddon mattseddon changed the title Fill template anchors inserted into custom template strings Fill template anchors inside custom template strings Oct 6, 2023
@dberenbaum dberenbaum merged commit e04c5de into main Oct 6, 2023
13 checks passed
@dberenbaum dberenbaum deleted the fill-custom-string branch October 6, 2023 11:20
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.

Fill anchors instead of quoted anchors
2 participants