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

Markdown output - links are [ text instead of [text #103

Open
scraggo opened this issue Mar 9, 2022 · 4 comments
Open

Markdown output - links are [ text instead of [text #103

scraggo opened this issue Mar 9, 2022 · 4 comments

Comments

@scraggo
Copy link

scraggo commented Mar 9, 2022

An issue I've noticed is that links don't output as markdown as expected:

Example passage: "Here is a link to something"

Actual markdown output: Here is a[ link](example.com) to something

Expected markdown output: Here is a [link](example.com) to something

@evbacher
Copy link
Owner

evbacher commented Mar 9, 2022

I will check this out. I suspect that the link definition in the Google doc includes the space, and Docs to Markdown takes that literally, but we should be able to correct that during conversion.

@jbeltramino4
Copy link

Hi! Still having the same problem. Would love an update. Thank you!

@evbacher
Copy link
Owner

evbacher commented Aug 7, 2022

Can you share a document that exhibits this problem? I'd like to be able to reproduce.

@evbacher
Copy link
Owner

As I suspected, if the link in the doc has a leading space, the converted link will have a leading space as well. Results from a test doc:

Here's a link that has some extra space before and after:[ google.com ](google.com)something else.

Here's a link that does not have any extra space before or after: [google.com](https://www.google.com).

I may fix this in a future version -- the converter is quite literal now.

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

3 participants