Skip to content
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

Update FAQ.org #4481

Closed
wants to merge 1 commit into from
Closed

Update FAQ.org #4481

wants to merge 1 commit into from

Conversation

bio
Copy link

@bio bio commented Jan 7, 2016

Set link for OSX install section.

Set link for OSX install section.
@TheBB
Copy link
Collaborator

TheBB commented Jan 7, 2016

Thanks, but this is an org file, please use org link syntax.

@TheBB TheBB removed the Reviewed label Jan 7, 2016
@TheBB
Copy link
Collaborator

TheBB commented Jan 7, 2016

Something that works both in Emacs and after exporting would be nice. I note that this link is broken on spacemacs.org in its current state. :-(

@StreakyCobra
Copy link
Contributor

Oh, I tested the link on github and it was working 😣 my bad

@bio
Copy link
Author

bio commented Jan 8, 2016

Github uses org-ruby gem to convert org files to html, Org Export Dispatcher exports links [[file:../README.md#os-x][README]] in right format <a href="../README.md#os-x">README</a> but it's impossible to open external file from org buffer.

I tried to use org links [[file:../README.md::#os-x][README]], [[file:../README.md::#os-x][README]] but with no luck, org-ruby doesn't understand it and removes '#os-x' part.

@StreakyCobra
Copy link
Contributor

@JAremko Any advice on how we should handle such links?

@JAremko
Copy link
Collaborator

JAremko commented Apr 28, 2016

@StreakyCobra If it was an org file then something like this should work [[https://github.com/syl20bnr/spacemacs/blob/master/README.org#os-x][OS X]]
But it's an md file 😕
I think we can modify the https link protocol handler and implement spacemacs/view-md-file - it will navigate to headlines. This way Spacemacs will open mds like this [[https://github.com/syl20bnr/spacemacs/blob/master/README.md#os-x][OS X]] in a buffer.

But doing all this for a single md file... Why can't we use org everywhere?

@nixmaniack
Copy link
Contributor

Why can't we use org everywhere?

I thought we're already using org everywhere, just convert it if it's not the case. :)

@JAremko
Copy link
Collaborator

JAremko commented Apr 29, 2016

@nixmaniack It's somewhat complex document(with html stuff in it) https://github.com/syl20bnr/spacemacs/blob/develop/README.md I think we can use wider logo to center it or add some white spaces. But it also have a ton of other stuff going on. We need the org mode god to do it properly 😕

@d12frosted
Copy link
Collaborator

This section was moved to README file, so this PR is invalid by now. Sorry about that!

@d12frosted d12frosted closed this Oct 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants