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

smart quotes #20

Open
dherman opened this issue Jul 20, 2012 · 4 comments
Open

smart quotes #20

dherman opened this issue Jul 20, 2012 · 4 comments

Comments

@dherman
Copy link
Contributor

dherman commented Jul 20, 2012

It'd be so sweet to automatically infer smart quotes and turn them into curly quotes in the generated HTML.

Dave

@logicalparadox
Copy link
Owner

Can you provide an example? Are you talking about quotes in the markdown or quotes in the jade?

@dherman
Copy link
Contributor Author

dherman commented Jul 20, 2012

More importantly in the markdown. For example, Octopress supports this (which I'm guessing means it's implemented by Jekyll -- not sure, haven't looked under the hood).

An example would be, the .md file:

Alice said, "Hi Bob."

rendering as:

Alice said, “Hi Bob.”

Dave

@logicalparadox
Copy link
Owner

Codex uses marked for markdown parsing. I went straight to using the lexer/parse as I don't recall it having "options" when I first started. I'll refactor my approach and hopefully that will resolve this.

@logicalparadox
Copy link
Owner

Refactoring this approach didn't seem to help. If you can find a way to configure marked to do this, then I would be more than happy to implement as an option.

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