Re: All file types assigned to BBEdit shown as “text document” in Finder

2024-06-15 Thread Martin Post
In the meantime, I was able to resolve this. So just in case someone else 
comes across this problem…

I have learned that BBEdit is not to blame here. It seems other 
applications registered various file types (.sh, .php), and when I 
uninstalled these applications, these files became generic “text documents” 
in the Finder.

To resolve this issue, I changed the “Always open with” application to 
something else (e.g. Visual Studio Code for .yaml). This fixed the Finder’s 
kind information. I then changed the “Always open with” application to 
BBEdit, and the “kind” information stayed correct/intact.

On Monday, June 10, 2024 at 11:23:50 AM UTC+2 Martin Post wrote:

> On my Mac, for all document types that I have set to always open in 
> BBEdit, the file type in the Finder is shown as “Text document”.
>
> So Shell Scripts, PHP docs, XML files etc. are all the same type, which 
> makes it hard to sort and navigate complex projects.
>
> I read on StackEdit that this is usually due to the respective 
> application, not macOS / the Finder.
>
> Is this a known issue, and how can I resolve it?
>
> Thank you.
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or believe that the application isn't working correctly, please email 
"supp...@barebones.com" rather than posting here. Follow @bbedit on Mastodon: 
<https://mastodon.social/@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/0f931158-8de2-4221-8842-0c1756cd44bdn%40googlegroups.com.


All file types assigned to BBEdit shown as “text document” in Finder

2024-06-10 Thread Martin Post
On my Mac, for all document types that I have set to always open in BBEdit, 
the file type in the Finder is shown as “Text document”.

So Shell Scripts, PHP docs, XML files etc. are all the same type, which 
makes it hard to sort and navigate complex projects.

I read on StackEdit that this is usually due to the respective application, 
not macOS / the Finder.

Is this a known issue, and how can I resolve it?

Thank you.

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or believe that the application isn't working correctly, please email 
"supp...@barebones.com" rather than posting here. Follow @bbedit on Mastodon: 

--- 
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/1be683be-5541-4938-a05e-ceb40a862fcdn%40googlegroups.com.


Re: Text filter deletes source file content

2023-02-04 Thread Martin Post
Thank you, Fletcher. Putting the script into the Scripts folder 
works without side effects. :)

I also found that a reduced, stdin/stdout-ish version of the filter 
(without cd "$(dirname "$BB_DOC_PATH")" and an -o target file), i.e.

pandoc --from markdown --to html --toc --standalone "${BB_DOC_PATH}"

… returns Pandoc’s output to the current window, allowing for in-place 
conversion. Nice!
fletc...@cumuli.com schrieb am Samstag, 4. Februar 2023 um 17:42:27 UTC+1:

> The text filter replaces the content of the BBEdit document with the 
> output of the script which is empty.
>
> You can put the same script in the Scripts folder and run it from there 
> without this happening. You need to add a #!/bin/sh or similar line to the 
> top.
>
> You could also probably just echo the original file back to BBEdit at the 
> end of the script.
>
> cat "$(BB_DOC_PATH)"
>
> Hope this helps,
>
> [fletcher]
>
>
> On Feb 4, 2023, at 3:27 AM, Martin Post  wrote:
>
> If I apply this Text filter (pandoc.sh):
>
> cd "$(dirname "$BB_DOC_PATH")";
> pandoc --from markdown --to html --standalone "${BB_DOC_PATH}" -o 
> "${BB_DOC_PATH%%.*}".html
>
> …to a text file (with nothing selected), the converted HTML file will be 
> stored as expected – but the content of the open text file will be deleted. 
> This is undoable, but why does it happen / how can it be avoided?
>
> (I have used similar scripts as *Preview* filters for years, where this 
> problem didn’t occur.)
>
> Thank you.
>
> -- 
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "sup...@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+un...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/54c684f0-c7f3-4d05-85d9-e9e0b78ed732n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/bbedit/54c684f0-c7f3-4d05-85d9-e9e0b78ed732n%40googlegroups.com?utm_medium=email_source=footer>
> .
>
>
>

-- 
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/688d3ea1-0c58-4451-a7d1-61ea19ee182an%40googlegroups.com.


Text filter deletes source file content

2023-02-04 Thread Martin Post
If I apply this Text filter (pandoc.sh):

cd "$(dirname "$BB_DOC_PATH")";
pandoc --from markdown --to html --standalone "${BB_DOC_PATH}" -o 
"${BB_DOC_PATH%%.*}".html

…to a text file (with nothing selected), the converted HTML file will be 
stored as expected – but the content of the open text file will be deleted. 
This is undoable, but why does it happen / how can it be avoided?

(I have used similar scripts as *Preview* filters for years, where this 
problem didn’t occur.)

Thank you.

-- 
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: 
--- 
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/54c684f0-c7f3-4d05-85d9-e9e0b78ed732n%40googlegroups.com.


Re: Save BBEdit Preview (with filter) content to file directly?

2023-01-29 Thread Martin Post
I only just realized (and that’s really embarrassing for someone who has 
been using BBEdit since 1997…) that you can take whatever *Preview* filter 
(Unix command) you have built into the *Text* Filters folder as well. So 
yeah – a simple text factory (or just “Text Filter” + “Save as…” will do 
the job.

Thank you.
Kaveh schrieb am Sonntag, 29. Januar 2023 um 15:31:56 UTC+1:

> Not quite sure of your requirement, but would "text factory" help?
> [image: image.png]
>
> On Sun, 29 Jan 2023 at 13:15, Martin Post  wrote:
>
>> I love BBEdit’s Preview filters. I have built a large set that will call 
>> my favorite Markdown convert Pandoc with proper templates, CSS etc. The 
>> Preview I get in BBEdit is exactly what I want, but I can’t easily store it 
>> as such – there is no “Save” icon in the toolbar, and all items in the Save 
>> menu are disabled when the Preview window is in front. The shortest route I 
>> could find is:
>>
>> - open the inspector
>> - select the HTML (root) tag
>> - select “Copy” from the context menu
>> - open a new text window
>> - paste
>> - add the doctype
>> - save.
>>
>> Doable, but it is seven steps where a simple “Save as…” should suffice.
>>
>> Just to save time (I’m doing this a lot): Can anyone suggest an easy way 
>> to save the BBEdit Preview window content to a file?
>>
>> (Preview in [Browser] won’t help, as this only applies the default filter 
>> for that file type, not the selected Preview filter.)
>>
>> Thank you.
>>
>> -- 
>> This is the BBEdit Talk public discussion group. If you have a feature 
>> request or need technical support, please email "sup...@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+un...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/bbedit/4d55a44e-d9a9-4451-b5e6-b2c8358c07afn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/bbedit/4d55a44e-d9a9-4451-b5e6-b2c8358c07afn%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>
>
> -- 
> Kaveh Bazargan PhD
> Director
> River Valley Technologies <http://rivervalley.io> ● Twitter 
> <https://twitter.com/rivervalley1000> ● LinkedIn 
> <https://www.linkedin.com/in/bazargankaveh/> ● ORCID 
> <https://orcid.org/-0002-1414-9098> ● @kave...@mastodon.social 
> <https://mastodon.social/@kaveh1000>
> *Accelerating the Communication of Research*
>

-- 
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/388607a7-0020-4988-9bce-de1e1d8b3d4dn%40googlegroups.com.


Save BBEdit Preview (with filter) content to file directly?

2023-01-29 Thread Martin Post
I love BBEdit’s Preview filters. I have built a large set that will call my 
favorite Markdown convert Pandoc with proper templates, CSS etc. The 
Preview I get in BBEdit is exactly what I want, but I can’t easily store it 
as such – there is no “Save” icon in the toolbar, and all items in the Save 
menu are disabled when the Preview window is in front. The shortest route I 
could find is:

- open the inspector
- select the HTML (root) tag
- select “Copy” from the context menu
- open a new text window
- paste
- add the doctype
- save.

Doable, but it is seven steps where a simple “Save as…” should suffice.

Just to save time (I’m doing this a lot): Can anyone suggest an easy way to 
save the BBEdit Preview window content to a file?

(Preview in [Browser] won’t help, as this only applies the default filter 
for that file type, not the selected Preview filter.)

Thank you.

-- 
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: 
--- 
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/4d55a44e-d9a9-4451-b5e6-b2c8358c07afn%40googlegroups.com.


Re: Multi-File Extract: source file names in results list?

2021-01-21 Thread Martin Post
Hi Jean,

of course, you’re right. I was looking at / trying “Save (as)”. Tunnel 
vision. :| “Export as Text” works, as you say.

Thanks again!

On Thursday, January 21, 2021 at 8:18:09 AM UTC+1 jj wrote:

>
> Hi Martin,
>
> The 'Export as Text ...' menu item should be active if the Multi-File 
> Search Results window is the front window and is not empty.
>
> Best regards.
>
> Jean Jourdain
>

-- 
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: 
--- 
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/42d8455c-fe43-44d4-904e-994ef96dab83n%40googlegroups.com.


Re: Multi-File Extract: source file names in results list?

2021-01-20 Thread Martin Post
@ Bruce:

Unfortunately, my script-fu is not worth mentioning. And yes, my source 
example was poorly formatted. I expect zero or more results for those 
searches, which should result in

file_1.txt: foo
file_1.txt: fOo
file_7.txt: fOO
etc. when searching for f(o)+

@ jj:

> File menu' > 'Export as text ...' usefully exports the results of a 
multi-file search.

I just tried saving a BBEDit multi-file search results window, but it 
doesn’t work: the file menu items are disabled, and the keyboard shortcuts 
don’t work, either.

*But* the content of said multi-file search results window can be selected 
and copied to the clipboard – and that’s fairly close to what I need: the 
file name and the full line with the match.

This allows me to drill down and extract file name and search terms in a 
second pass: 
Search for ^([^:]+):.*(foo)
Replace by \1\t\2

Not perfect, but close enough – so thank you for pointing me in the right 
direction. :)


On Wednesday, January 20, 2021 at 4:44:32 PM UTC+1 jj wrote:

> Hi Martin,
>
> 'File menu' > 'Export as text ...' usefully exports the results of a 
> multi-file search.
> Maybe that's something you could use.
>
> HTH
>
> Jean Jourdain
>

-- 
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: 
--- 
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/542dcfc5-634c-4307-8d99-10243f81404an%40googlegroups.com.


Multi-File Extract: source file names in results list?

2021-01-20 Thread Martin Post
I need to build an (editable / exportable) list of terms from a Multi-File 
Search including the names of the files where the searched string / pattern 
is found. So my question is:

Is there a Replacement Pattern / token for the file name in a multi-file 
search, so clicking “Extract” in the Multi-File Search dialog would give me:

fil1.txt: foo.txt
file3.txt: fOO.txt
etc.

Thank you.

-- 
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: 
--- 
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/617daad6-eaed-42aa-82b3-aff3403064a2n%40googlegroups.com.


Re: Document tree / outline / TOC for navigation?

2020-06-26 Thread Martin Post
While that popup is a great feature, I’d like to support 
Rainer’s suggestion. Indentation in the function menu (and said popup) 
would help a lot when editing complex HTML or Markdown documents. I will 
sometimes open long documents in another app with an indented ToC / Outline 
view (Marked2 or MultiMarkdown Composer) just to get a better bird’s eye 
view.

(Add the ability to _move_ sections of Markdown document around in the 
popup, and I’m in Markdown Editing Heaven. :)
On Tuesday, June 23, 2020 at 4:14:26 PM UTC+2 Patrick Woolsey wrote:

> On Jun 23, 2020, at 08:21, Rainer Krug  wrote:
> > 
> > Well - the question was "is it possible to customise that drop down 
> display to have indentation, or is there a way of seeing the document 
> layout (headers) for navigation in an additional window?" and the answer is 
> presumably in this case a "No".
>
>
> Though it's not possible to apply custom indentation to the contents of 
> the Function popup, you can display those items in a separate (searchable) 
> palette via Go -> Functions, in case that may help. :-)
>
>
> Regards,
>
> Patrick Woolsey
> ==
> Bare Bones Software, Inc. 
>
>

-- 
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: 
--- 
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/adcd2576-d98e-4ee3-8f90-cfaf0fb5bcc9n%40googlegroups.com.


Re: Text factory - transform files in folder A and write to folder B, possibly with new extension?

2014-12-06 Thread Martin Post

On Friday, December 5, 2014 1:58:36 AM UTC+1, Charlie Garrison wrote:
 

 PHP?? Really? For what reason?


So I can run this Text Factory Replacement either locally or on my 
el-cheapo web host if required. I understand it's not the perfect tool, but 
this is the one scripting language that will be preinstalled pretty much 
everywhere.


-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.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 post to this group, send email to bbedit@googlegroups.com.


Re: Text factory - transform files in folder A and write to folder B, possibly with new extension?

2014-12-04 Thread Martin Post
Thanks, everyone. I'm afraid I didn't make myself clear... I am often using 
Text Factories (usually just 5-10 GREP replacements) to convert files from 
one format to another. These Text Factories work as they should. However, 
this will modify the respective documents (in memory) and then (optionally) 
save them to disk, _replacing_ the original files. Now let's assume I have 
40 XML files that I converted into HTML. After running the Text Factory, I 
have to go to the Finder, change the file extension to .html, and then I 
can validate my files. Now if something went wrong, I need to create 
another copy of the original XML file and start again. I am testing rather 
complex text factories here, which I sometimes need to modify on the fly. 
It would just be nice if I could tweak a text factory, have it process the 
files in folder A and write the converted files to folder B, without having 
to copy or rename files manually.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.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 post to this group, send email to bbedit@googlegroups.com.


Re: Text factory - transform files in folder A and write to folder B, possibly with new extension?

2014-12-04 Thread Martin Post

On Thursday, December 4, 2014 4:11:28 PM UTC+1, jgill wrote:

 Here is a simple, low-tech way to do it.

 Duplicate the folder with the original files with a right-click. Run your 
 text factories on the duplicates. Use 'A Better Finder Rename' (
 http://www.publicspace.net/ABetterFinderRename/) to change the extensions.

 

This is exactly what I'm doing right now - I just didn't mention the 
wonderful Better Rename 9 being used for renaming.

Well; this has to sound lazy, but I had really hoped for a way to process 
whatever is in A and copy it to B without any manual intervention; 
maybe even triggered by changes (= new files) in A.

Thank you for your answers, everyone. I might just change horses and have 
someone code a PHP script to do this, including the text processing. BBEdit 
still does a million other great things for me.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.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 post to this group, send email to bbedit@googlegroups.com.


Text factory - transform files in folder A and write to folder B, possibly with new extension?

2014-12-03 Thread Martin Post

Is it possible to have a BBedit text factory read and convert e.g. all HTML 
files in an in folder and store the transformed documents (possibly with 
another filename extension such as .xml in a separate out folder? I 
suppose this is automatable, but I have zero AppleScript 
know-how/experience. Maybe a kind soul who has done this before can share a 
script or some tips. Thank you!

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.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 post to this group, send email to bbedit@googlegroups.com.


Coda 2 is nice, but no match for BBEdit

2012-05-24 Thread Martin Post
This is not strictly BBEdit related, but may be relevant to some HTML  CSS 
coders here anyway.

There was a lot of excitement around Coda 2 during the last days, and I 
gave into the hype and bought it today from the App Store at the reduced 
price, although I maintain all my sites in BBEdit. I was curious enough to 
spend 40 EUR.

Long story short: It's a nice app. The GUI is beautiful, the reference docs 
are a welcome addition. But in terms of features - especially with regards 
to site management -, even Coda 2 doesn't hold a candle to BBEdit. Includes 
alone (which can be updated and fine-tuned using variables) are something I 
couldn't live/work without – Coda's snippets are not really an adequate 
replacement. Same goes for fine-tuned RegEx search/replace, collections, 
the markup editor, Process Lines containing etc. I would love to see a 
Transmit-style Sync site feature in BBEdit, but that's about the only 
feature I really need a third-party app for.

I guess I will use Coda here and there for a small project, but for 
everything else, I'll stick with BBEdit.

(All this is not supposed to badmouth a competitor, but it might save some 
people some money.)

-- 
You received this message because you are subscribed to the 
BBEdit Talk discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Using a (Persistent Include) variable in several includes and site-wide?

2012-05-24 Thread Martin Post
Hello guys,

I am maintaining several smaller, static web sites using BBEdit. I have 
defined fairly large chunks of HTML (page headers, footers, main and sub 
navigation etc.) as persistent includes, and I use variables to customize 
these. It's a simple, flexible setup.

Now here are two problems/questions:

- I'd like to use one variable in *several* includes on the same page - ie, 
I want to define eg #BB_TITLE#=Foo and use this in several includes 
(header, footer). Is this possible? How?

- Same question for site-wide variables. It would be awesome if I could 
define a few variables somewhere (ie, not on page level) and have their 
values injected into all pages/persistent includes where that variable is 
used.

Is there a way to do this client-side, using BBEdit, or would I have to do 
this server-side (eg via PHP)?

Thanks in advance!

-- 
You received this message because you are subscribed to the 
BBEdit Talk discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Re: Marked (app) cannot be used as Preview Helper in BBEdit

2012-05-07 Thread Martin Post

On Monday, May 7, 2012 9:48:12 AM UTC+2, Christopher Stone wrote:

Hmm.  I can't make it work either.  If nobody offers a workable fix pretty 
 quickly then contact support.
 In the meantime here's a Applescript work-around.


I had found and successfully used a script similar to the one you suggested 
a few hours ago (also works for Multimarkdown, my other favorite MMD 
editor). But I also contacted support, as this seems to be a bug.

Thank you to both of you!

Cheers,

Martin

-- 
You received this message because you are subscribed to the 
BBEdit Talk discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit


Marked (app) cannot be used as Preview Helper in BBEdit

2012-05-06 Thread Martin Post
Hello guys,

I'm using BBEdit to edit files in Fletcher Penney's MultiMarkdown (MMD), an 
extended version of John Gruber's popular Markdown syntax. The file 
extension I'm using for these files is .md, and BBEdit applies Markdown 
syntax highlighting (which misses a few MMD-specific goodies, but that's 
not an issue).

I'm also using Marked by Brett Terprstra (http://markedapp.com/), a 
wonderful Markdown / MultiMarkdown preview / conversion tool. Marked takes 
a MD/MMD file and renders it as HTML on the fly.

Now I tried adding Marked as a Preview Helper in BBEdit, but this doesn't 
work.

Marked is recognized and added to the list of helpers. I can write and save 
a MultiMarkdown file and select Markup  Preview in Marked 1.4 in 
BBEdit, and the Marked app will even launch. But no document is displayed - 
neither as raw Marked code nor as a rendered HTML document.

Any idea how to resolve this issue?

Thanks a lot.

-- 
You received this message because you are subscribed to the 
BBEdit Talk discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email supp...@barebones.com rather than posting to the group.
Follow @bbedit on Twitter: http://www.twitter.com/bbedit