Skip to content

Conversation

@avlouis
Copy link
Contributor

@avlouis avlouis commented Oct 24, 2025

Implementing a ternary conditional as IfElseInline.

Just a simple construct I have been using, so I figured I would share.

I put a todo in the readme for the example image since I am unsure how you are handling the URLs. Seems the existing URLs are using a tag.

@quachpas quachpas self-requested a review October 25, 2025 02:26
@quachpas
Copy link
Collaborator

Hello @avlouis thanks for the patch.

The image URL points towards the test reference in the current patch. It's ok if it doesn't exist ATM.

@avlouis
Copy link
Contributor Author

avlouis commented Oct 30, 2025

@quachpas, I added the image URL following the pattern used on the other examples.

As far as I can tell, the algorithm-float test was failing before these changes.

@quachpas quachpas merged commit 9d01d07 into typst-community:main Nov 11, 2025
1 check failed
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.

2 participants