You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's working well, and I've made some changes that could be incorporated upstream. However it looks like the version of this code being used on wordpress.org is different / outdated so I thought I'd check on whether this is still being maintained first, and if there is interest in one or more of these changes I can write them up into PRs:
Expose the protected function Editor#get_markdown_edit_link publicly so that themes can implement their own front-end edit links. This will cause a back compat issue if the visibility is changed, but a new method could be added instead.
Do not require jetpack_require_lib() to exist on the site, allow including and manually loading the required Jetpack code instead: ClassicPress/site-docs@eecfdb7
Create a new method Importer#is_markdown_post that can be overridden to allow more fine-grained logic for whether a post should be managed by the Markdown sync system.
I've implemented this on https://docs.classicpress.net.
It's working well, and I've made some changes that could be incorporated upstream. However it looks like the version of this code being used on wordpress.org is different / outdated so I thought I'd check on whether this is still being maintained first, and if there is interest in one or more of these changes I can write them up into PRs:
protected
functionEditor#get_markdown_edit_link
publicly so that themes can implement their own front-end edit links. This will cause a back compat issue if the visibility is changed, but a new method could be added instead.jetpack_require_lib()
to exist on the site, allow including and manually loading the required Jetpack code instead: ClassicPress/site-docs@eecfdb7Importer#is_markdown_post
that can be overridden to allow more fine-grained logic for whether a post should be managed by the Markdown sync system.If this repository isn't being actively maintained, then at least this can serve as a reference implementation for others. More information about our setup is here: https://github.com/ClassicPress/site-docs/tree/master/wp-content/mu-plugins/markdown-sync
The text was updated successfully, but these errors were encountered: