Open sullivan-ben opened 8 months ago
What about acting more like a vcs linter - have a setting that prevents (or prompts) if trying to push code that has MdTB tables.
Eg, something like:
> Local branch contains markdown table blocks. Your workspace settings require all tables to be converted to native markdown before pushing to remote
> 1. [Convert All and Push]
> 2. [List Files]
> 3. [Cancel]
Problem
Other platforms do not support MdTB. Some allow extensions, so native table blocks could be previewed, but others like Github, Gitlab, etc do not (at least when it comes to markdown preview)
Solution
Only convert to the markdown table block when the cursor enters a markdown table - then convert back to the table when cursor leaves.
Issues: