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

klipse with markdown #279

Closed
lambda-knight opened this issue Sep 2, 2017 · 2 comments
Closed

klipse with markdown #279

lambda-knight opened this issue Sep 2, 2017 · 2 comments

Comments

@lambda-knight
Copy link

I am trying to integrate klipse with markdown.
The attached example doesn't work. If I could put the css to html head.

test.md.txt

This is not klipse issue but is there any resolution ?

@viebel
Copy link
Owner

viebel commented Sep 14, 2017

Can you please share the html that is generated from the markdown?

@lambda-knight
Copy link
Author

I understood it depends on markdown processor.
I could generate a html which works on chrome using marked.
https://github.com/chjj/marked

The generated html is as follows:

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>clojure-example.html</title>

</head>

<body>

<link rel="stylesheet" type="text/css" href="https://storage.googleapis.com/app.klipse.tech/css/codemirror.css" />

<h1 id="sample-clojure-code">sample Clojure code</h1>
<pre><code class="lang-clj">(map inc &#39;(1 2 3 4))
</code></pre>
<script type="text/javascript">window.klipse_settings = {selector: '.lang-clj'};</script>
<script src="https://storage.googleapis.com/app.klipse.tech/plugin/js/klipse_plugin.js"></script>


</body>
</html>

However, markdown-preview-plus doesn't.
https://chrome.google.com/webstore/detail/markdown-preview-plus/febilkbfcbhebfnokafefeacimjdckgl

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

2 participants