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

Markdown Help Changes and Translating #184

Merged
merged 2 commits into from
Oct 15, 2024

Conversation

JVickery-TBS
Copy link

@JVickery-TBS JVickery-TBS commented Oct 9, 2024

fix(templates): markdown help;

  • Update markdown help to our limits of MD.
  • Fix translations not working for our setup.
  • Translate the actual popup contents.

Dependent: open-data/ckanext-canada#1520

Background

we are no longer allowing headings in our markdown rendering for a11y purposes. So excluding that from the help popup and replacing it with some more useful things. Also removing the "full markdown" doc link as the markdown render does not support a lot of the stuff found in the markdown docs, so better to not send the user there. E.g. they find tables and try to make a markdown table etc., these don't render in CKAN. Just added some more generic things that users can use like numbered lists, formatted links, and block quotes.

- Update markdown help to our limits of MD.
- Fix translations not working for our setup.
- Translate the actual popup contents.
- Added change log file.
Copy link
Member

@wardi wardi left a comment

Choose a reason for hiding this comment

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

In newer ckan these macros have been split up into different files so we will be able to override them in our ckanext-canada template directory

@JVickery-TBS JVickery-TBS merged commit d8d0e96 into canada-py3 Oct 15, 2024
1 check passed
@JVickery-TBS JVickery-TBS deleted the change/markdown-helper-popup branch October 15, 2024 13:28
@JVickery-TBS
Copy link
Author

CKAN 2.10 branch has this in the macros/form/markdown.html now: open-data/ckanext-canada@f38f694#diff-8ccd0866aa0846479dbce1636360b99aa8f0723d2f120415791cc4209a04805f

cleanup in ckan and ckanext-canada for this change has been done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants