-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
📝 feat: Markdown support for Custom Footer links #2960
📝 feat: Markdown support for Custom Footer links #2960
Conversation
7bdf898
to
4ce3242
Compare
Good catch @Tanvez. @jakubmieszczak maybe you can map any occurrence of <div key={`separator-${index}`} className="h-2 border-r-[1px] border-gray-300" />
The prior comment may help resolve this issue. I can try to address it if you don't figure it out. The important thing would be to allow the custom footer render to possibly be made up of multiple elements on the same plain as privacy/tos Only other comment I have is that |
ca64348
to
ed3dee7
Compare
I've addressed the proposed changes in this PR.
Please let me know if there are any further changes required. Thank you for your feedback @danny-avila ! |
thank you @jakubmieszczak looks good to me! All I would ask if you would kindly make a PR here to add an additional note for using markdown with CUSTOM_FOOTER https://www.librechat.ai/docs/configuration/dotenv#app-title-and-footer |
Can we merge this PR and include changes in |
* feat: Add markdown support for custom footer links * fix: Update Footer component with revised ReactMarkdown props * fix: Adjusted footer links and pipe styles for consistent appearance * refactor: remove unused footer.tsx file
* feat: Add markdown support for custom footer links * fix: Update Footer component with revised ReactMarkdown props * fix: Adjusted footer links and pipe styles for consistent appearance * refactor: remove unused footer.tsx file
Summary
This PR addresses enhancements requested issue #(2959) regarding adding support for markdown hyperlinks in footer environment variables. Previously, markdown links added in these environment variables were rendered as plain text. With these changes, the application now correctly interprets and displays these links.
Change Type
Please delete any irrelevant options.
Testing
This was tested on several cases. Works fine for single and multiple markdowns.
To test these changes, add a markdown link in the
CUSTOM_FOOTER
environment variable and confirm that the link is correctly interpreted and displayed in the footer by the application.Example markdown:
CUSTOM_FOOTER="Internal [ChatGPT documentation](https://placeholder-link.com)"
Test Configuration:
Checklist
Please delete any irrelevant options.