Taras Novak πŸ‡ΊπŸ‡¦ · @dataSamurai
166 followers · 257 posts · Server vis.social

πŸ“’ Happy to announce v1.0.0 release available to our sponsors on github:

πŸ’– + πŸ’΅β€‘ πŸ› οΈ github.com/sponsors/RandomFrac

πŸ“₯ github.com/RandomFractals/mark

/ πŸ§™β€β™‚οΈ

#prodatatools #sqlprotools #markdownsqlprotools

Last updated 1 year ago

Taras Novak πŸ‡ΊπŸ‡¦ · @dataSamurai
166 followers · 254 posts · Server vis.social

Fun RegEx to extract ```sql code blocks from .md docs for custom Execute @code lens, etc.:

const regex = /^```sql\s*([\s\S]*?)\s*```$/gm;
const matches = [];
let match;
while ((match = regex.exec(documentText)) !== null) {
matches.push(match[1]);
}

πŸ”¬ ...

#sqlprotools #markdown #sql

Last updated 1 year ago