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

Source Map - Feature request #382

Closed
am11 opened this issue Apr 9, 2014 · 4 comments
Closed

Source Map - Feature request #382

am11 opened this issue Apr 9, 2014 · 4 comments

Comments

@am11
Copy link

am11 commented Apr 9, 2014

Source maps are very useful for browser debugging and editor enhancements when implementing source-to-source trans-compilers.

Unfortunately, there is no markdown compiler out there which generates V3 source-maps, as CSS (LESS & SASS) and JavaScript (CoffeeScript & TypeScript) preprocessors do.

Please implement this feature in marked, so editors and browsers can take advantage of it.

Thanks in anticipation.

@am11 am11 changed the title SourceMap - Feature request Source Map - Feature request Apr 9, 2014
@kizu
Copy link

kizu commented Apr 9, 2014

👍 it would be helpful, for example, for creating an inline commenting engine (similar to the one at medium.com), where you could select some words and attach a comment to them. Imagine a spell-checker like thing, where people could select some words in your blog, edit them and send a PR to your blog's repo without leaving your blog! Without the source maps it is barely possible. I guess there could be a lot of other use cases for the source maps like that.

@allouis
Copy link

allouis commented Apr 9, 2014

👍

@Feder1co5oave
Copy link
Contributor

I leave this here hoping it'll be helpful sometime in the future.
Anyone wanting to implement this should better take a look at the source map specification and use a source map generator library.

@joshbruce
Copy link
Member

See #956

Closing as complete or stale

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

5 participants