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

[CS2] Literate CoffeeScript fails on simple example #4463

Closed
swang opened this issue Mar 13, 2017 · 2 comments
Closed

[CS2] Literate CoffeeScript fails on simple example #4463

swang opened this issue Mar 13, 2017 · 2 comments
Labels
Milestone

Comments

@swang
Copy link
Contributor

swang commented Mar 13, 2017

Example:

This is code that outputs 3

	x = 3
	console.log x

Wow that was easy!

Expected:

(function() {
  var x;

  x = 3;

  console.log(x);

}).call(this);

Instead:

(function() {


}).call(this);

I dug in a little bit and it looks like the "marked" library considers the pieces of code as paragraphs.

@GeoffreyBooth
Copy link
Collaborator

@swang Are you seeing this in 1.12.4 or in 2.0.0-alpha1?

@swang
Copy link
Contributor Author

swang commented Mar 14, 2017

2.0.0-alpha1

@GeoffreyBooth GeoffreyBooth changed the title Literate CoffeeScript fails on simple example [CS2] Literate CoffeeScript fails on simple example Mar 14, 2017
@GeoffreyBooth GeoffreyBooth added this to the 2.0.0 milestone Mar 14, 2017
@GeoffreyBooth GeoffreyBooth added fixed and removed bug labels Apr 6, 2017
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