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

Add option to switch back to vanilla styling #76

Open
tarwich opened this issue Mar 31, 2017 · 2 comments
Open

Add option to switch back to vanilla styling #76

tarwich opened this issue Mar 31, 2017 · 2 comments

Comments

@tarwich
Copy link
Collaborator

tarwich commented Mar 31, 2017

In #75 we gained the ability to have our markdown look like GitHub, which was a huge win. However, it opens the door for debate on whether a user should be able to choose their style of markdown. Perhaps we should have a way of choosing the "theme" that will be applied to the markdown previewer.

@tattali
Copy link
Contributor

tattali commented Apr 1, 2017

Is the project build successfully for you in Xcode?
Because I have make it on my project https://github.com/tattali/QLAddict/blob/master/QuickLookAddict/GeneratePreviewForURL.m#L23-L29

You can select the theme with
defaults write com.sub.QuickLookAddict style NAME_OF_THEME

@tattali
Copy link
Contributor

tattali commented Apr 1, 2017

tattali@4514d6f
NAME_OF_THEME = default|github
defaults write com.fiatdev.QLMarkdown theme NAME_OF_THEME

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants