-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot use flymd on mac #1
Comments
if it were not so difficult, i would also suggest to enable chrome support, 'cus it is just so popular... thanks |
This should work on OSX to open firefox. (defun my-flymd-browser-function (url)
(let ((process-environment (browse-url-process-environment)))
(apply 'start-process
(concat "firefox " url)
nil
"/usr/bin/open"
(list "-a" "firefox" url))))
(setq flymd-browser-open-function 'my-flymd-browser-function) This use Safari: (defun my-flymd-browser-function (url)
(let ((process-environment (browse-url-process-environment)))
(apply 'start-process
(concat "Safari " url)
nil
"/usr/bin/open"
(list "-a" "Safari" url))))
(setq flymd-browser-open-function 'my-flymd-browser-function) Please report if they work. Thanks.
It is technically impossible. Chrome forbids reading local file.
If they kept elsewhere, images and links in markdown cannot render properly because they usually use relative path like However, I can make a customization in next update so that these two files can be deleted upon buffer closed. Dose it help? |
the firefox works, but the safari does not get real time update. it would be nice if the two files can be deleted upon buffer closed two more thoughts, great tool btw, thanks |
|
if that is the case, it is still useful to provide an option to enble mathjax rendering with a click button. |
Add |
just want to report a bug. on windows you might need to the line below to change the url, at least for me using firefox 46 on windows 7, i need
meanwhile, i tested on my PC, mathjax (and syntax highlighting) is not that slow... I don't know what is the tech issue behind that, but why not give user the option to enable the mathjax and syntax highlighting at their own risk of being slow? |
I am using the flymd for two days now, another suggestion i would like to On Mon, May 23, 2016 at 4:28 AM, Mola-T [email protected] wrote:
|
If you are really curious about mathjax and gfmize, please open separate issues for them. So I can just direct people who have the same question to the issue in the future. Focus is control in OS level, you need external program to change focus. |
new issue opened for that , thanks |
ok its work @mola-T |
i installed firefox, and got this error:
Debugger entered--Lisp error: (file-error "Searching for program" "no such file or directory" "firefox")
start-process("firefox /Users/zyuan/develop/shelper_ghpages/posts/flymd.html" nil "firefox" "/Users/zyuan/develop/shelper_ghpages/posts/flymd.html")
apply(start-process "firefox /Users/zyuan/develop/shelper_ghpages/posts/flymd.html" nil "firefox" "/Users/zyuan/develop/shelper_ghpages/posts/flymd.html")
browse-url-firefox("/Users/zyuan/develop/shelper_ghpages/posts/flymd.html" nil)
apply(browse-url-firefox "/Users/zyuan/develop/shelper_ghpages/posts/flymd.html" nil)
browse-url("/Users/zyuan/develop/shelper_ghpages/posts/flymd.html")
(let ((browse-url-browser-function (quote browse-url-firefox))) (browse-url url))
my-flymd-browser-function("/Users/zyuan/develop/shelper_ghpages/posts/flymd.html")
flymd-open-browser(#)
flymd-flyit()
call-interactively(flymd-flyit record nil)
command-execute(flymd-flyit record)
helm-M-x(nil "flymd-flyit")
call-interactively(helm-M-x nil nil)
command-execute(helm-M-x)
i am not an elisp programmer,... so sorry that i cannot help to identify exact cause ...
The text was updated successfully, but these errors were encountered: