Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Markdown files do not accept apostrophes #32

Closed
swaminator opened this issue May 10, 2019 · 2 comments
Closed

Markdown files do not accept apostrophes #32

swaminator opened this issue May 10, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@swaminator
Copy link
Contributor

If your text content has an apostrophe ' the build fails. As an example

description: 'In this workshop **we'll** learn how to build cloud-enabled web applications with Angular & AWS Amplify.'
banner: './banner.png'

This will cause:

error Error processing Markdown file /Users/nsswamin/workspace/documentation/community/content/posts/2019-04-12-angular-workshop/index.md:

      can not read a block mapping entry; a multiline key may not be an implicit key at line 4, column 7:
    banner: './banner.png'
          ^
error Command failed with exit code 1.
@harrysolovay
Copy link
Contributor

harrysolovay commented May 13, 2019

That's just how the MD is parsed. If wrapped with double quotes, the sentence shouldn't error out. Even with the apostrophe. Our MD linter should catch this class of build error.

@swaminator
Copy link
Contributor Author

We need to figure out how to do this so reopening.

@swaminator swaminator reopened this May 29, 2019
@sammartinez sammartinez added the bug Something isn't working label Jun 28, 2019
@aspittel aspittel closed this as completed Oct 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants