Use WordPress-GitHub Sync with Markdown-on-Save

add_filter('wpghs_content_export', function($content, $wpghs_post) {
return $wpghs_post->post->post_content_filtered;
});
add-filter.php