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

Question -- styles vs convert markdown #21

Open
mk-uc opened this issue Mar 20, 2019 · 3 comments
Open

Question -- styles vs convert markdown #21

mk-uc opened this issue Mar 20, 2019 · 3 comments
Labels

Comments

@mk-uc
Copy link

mk-uc commented Mar 20, 2019

Question: I noticed that Scrivener has an option to 'Convert Rich Text to Markdown' which basically attempts to do just that. Is there a benefit of using Styles, as you've indicated, over this option? Are there clear downsides to using this convert option? It seems both would export to the same markdown format.

I'm thinking about this because I plan to also use scrivener extensively on iOS, and while it seems that styles might sync across, it's not possible to bind keyboard shortcuts to styles, and might make writing on iOS more difficult.

Apologies if this is too far off the current repository.

@iandol
Copy link
Owner

iandol commented Apr 2, 2019

The traditional problem was that Convert Rich Text to Markdown would also escape all other markdown, and break combining rich text and markdown syntax (there are several threads on the forums about this). BUT in a recent update you can disable escaping, which improves the ability to mix-and-match these two. I still prefer the semantic "purity" of using styles, but understand how clumsy it is to use on iOS at present, so you should be able to try it: but note you must then be careful not to use characters like [ ] and * * unless you want them to be markdown...

@mk-uc
Copy link
Author

mk-uc commented Apr 2, 2019

I don’t use too much markdown aside from bold and italics, (in the humanities not the sciences). HOWEVER, I do use Pandoc, which uses [] for citations. Would that be a problem if trying to use Convert Rich Text to Markdown?

@iandol
Copy link
Owner

iandol commented Apr 2, 2019

Yes, by default Convert Rich Text to Markdown will escape Pandoc citations like so: \[@shipp2013\] — and therefore Pandoc cannot read them. BUT as I said before if you are using at least Scrivener V3.1.1 then the option Escape special characters was added, make sure it is OFF:
Screenshot 2019-04-03 at 07 58 05

Try to compile and see works for you...

@iandol iandol added the question label Apr 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants