-
Notifications
You must be signed in to change notification settings - Fork 4
Add documentation for escaping dollar signs in LaTeX #2522
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
Conversation
Co-Authored-By: Fern Support <info@buildwithfern.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
|
||
| ### Displaying literal dollar signs | ||
|
|
||
| Since dollar signs trigger LaTeX rendering, text containing dollar amounts may accidentally render as math equations. To display literal dollar signs in your documentation (like prices, budgets, costs, or financial data), escape them with a backslash (`\`): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📝 [vale] reported by reviewdog 🐶
[FernStyles.Adverbs] Remove 'accidentally' if it's not important to the meaning of the statement.
Co-Authored-By: Fern Support <info@buildwithfern.com>
Summary
Adds a new subsection under the LaTeX documentation explaining how to escape dollar signs to prevent unintended LaTeX rendering. This addresses the issue where text between two dollar signs is rendered as a LaTeX equation.
The documentation includes:
\$)Updates since last revision
Review & Testing Checklist for Human
highlight-framediv renders correctly with the before/after examplesThe product costs $10 and shipping is $5) demonstrates the LaTeX rendering issue\$10and\$5) displays literal dollar signsTest plan: Navigate to the Rich media in Markdown page on the preview deployment and verify both the visual example and the markdown code block render as expected.
Notes
Link to Devin run: https://app.devin.ai/sessions/b52e6865c96c489c92d8b39304a465ed
Requested by: Fern Support (info@buildwithfern.com)