Closed olliekav closed 5 months ago
I'm not sure - I have no experience with Contentful Middleman. Does the syntax extension work when you use a proxy but to a normal markdown file that contains code?
I don't think it's a Contentful problem, I found another post with someone having the same issue with code markdown in a yaml data file and generated content.
https://forum.middlemanapp.com/t/add-syntax-highlighting-to-proxy-generated-pages/1772
I'll try that out though and will let you know results.
On Wednesday, 16 December 2015, Ben Hollis notifications@github.com wrote:
I'm not sure - I have no experience with Contentful Middleman. Does the syntax extension work when you use a proxy but to a normal markdown file that contains code?
— Reply to this email directly or view it on GitHub https://github.com/middleman/middleman-syntax/issues/59#issuecomment-165016143 .
Yeah, the use case of generating content out of yaml files with markdown in them is pretty far from what I'm used to.
-Ben
Sent from my phone
On Dec 15, 2015, at 11:06 PM, Ollie Kavanagh notifications@github.com wrote:
I don't think it's a Contentful problem as I found another post with someone having the same issue with code markdown in a yaml data file and generated content.
https://forum.middlemanapp.com/t/add-syntax-highlighting-to-proxy-generated-pages/1772
I'll try that out though and will let you know results.
On Wednesday, 16 December 2015, Ben Hollis notifications@github.com wrote:
I'm not sure - I have no experience with Contentful Middleman. Does the syntax extension work when you use a proxy but to a normal markdown file that contains code?
― Reply to this email directly or view it on GitHub https://github.com/middleman/middleman-syntax/issues/59#issuecomment-165016143 .
Ollie Kavanagh
twitter: @olliekav
― Reply to this email directly or view it on GitHub.
I'm running into the exact same problem. I'm also using contentful to populate yaml data. At this point I really don't think there is any solution for this problem. I've checked in every corner of Google.
@olliekav @sebastiangraz Do you have any update about this thing? I'm a bit late to the party 🙏🏼, but I'd like to help understand the problem and find a solution (if feasible).
@olliekav Going to close for now, please don't hesitate to reopen in case you can provide any update, a failing test or a sample app that reproduces the error.
I'm generating blog pages using the Contentful Middleman gem, within these yaml files I have Markdown content that I pass through a markdown renderer with code blocks
And a typical yaml file including a code block in the body (ignore my single quotes around the code block, I just couldn't get it to render on here otherwise!)
And I generate these files via proxy...
Middleman-syntax has a lot of trouble picking up the code blocks form within these pages generated via proxy. Some blocks won't even format and it never gets line numbers. Any ideas?