Thanks brilliant - that worked, but I had to install without the `-g` 
option.



On Wednesday, April 13, 2022 at 2:57:35 PM UTC+2 jj wrote:

> Hi Rainer,
>
> Did you check 
> https://github.com/darkriszty/MarkdownTablePrettify-VSCodeExt ?
>
> Install with:
>
>     % brew install node
>     % npm install -g markdown-table-prettify
>     
> Create a BBEdit Text Filter ~/Library/Application Support/BBEdit/Text 
> Filters/markdown_table_prettify.sh:
>
>     #!/usr/bin/env node
>     const { CliPrettify } = require('markdown-table-prettify');
>     process.stdin.setEncoding('utf8');
>     
>     process.stdin.on('data', function(text) {
>       console.log(CliPrettify.prettify(text));
>     })
>
> HTH,
>
> Jean Jourdain
>
> On Wednesday, April 13, 2022 at 1:48:44 PM UTC+2 Rainer Krug wrote:
>
>> Hi
>> How can I align the | in a markdown table in bbedit? 
>> Any scripts / filters which help me working with tables in bbedit? 
>> All the ones I found are REALLY old.
>>
>> Thanks,
>>
>> Rainer
>>
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/1a312de4-36b8-4378-b49a-bd7d5961091an%40googlegroups.com.

Reply via email to