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

Code blocks not showing on browser #5

Open
madeinjam opened this issue Nov 2, 2015 · 3 comments
Open

Code blocks not showing on browser #5

madeinjam opened this issue Nov 2, 2015 · 3 comments

Comments

@madeinjam
Copy link

Hi!

First of all, great package, thank you!

I have a problem broadcasting code to the browser, it just does not appear.

Information:

Markdown

https://gist.github.com/jamc/0045e46d279309ef35fe

How does it look on Atom preview

screenshot 2015-11-02 14 34 12

# How does it look on browser preview

screenshot 2015-11-02 14 34 54

HTML rendered on browser

<h3 id="docker-cheatsheet">Docker cheatsheet</h3>
<h4 id="run-the-docker">Run the docker</h4>
<atom-text-editor class="editor" gutter-hidden="" data-grammar="source shell" data-encoding="utf8"></atom-text-editor>
<h4 id="attach-to-the-docker-console">Attach to the docker console</h4>
<atom-text-editor class="editor" gutter-hidden="" data-grammar="source shell" data-encoding="utf8"></atom-text-editor>
<h4 id="stop-the-docker-container">Stop the docker container</h4>
<atom-text-editor class="editor" gutter-hidden="" data-grammar="source shell" data-encoding="utf8"></atom-text-editor>
<h4 id="delete-the-docker-container">Delete the docker container</h4>
<atom-text-editor class="editor" gutter-hidden="" data-grammar="source shell" data-encoding="utf8"></atom-text-editor>
<h4 id="delete-the-docker-image">Delete the docker image</h4>
<atom-text-editor class="editor" gutter-hidden="" data-grammar="source shell" data-encoding="utf8"></atom-text-editor></div>

Any clue?

Thanks!

@eqot
Copy link
Owner

eqot commented Nov 3, 2015

I am really glad to hear that you like this package! 😄
And, thank you very much for pointing it out. I did not know it happens.

I have found its root cause. Code blocks in Atom are represented with shadow DOMs which are not obtained by the current implementation through element.outerHTML.
Unfortunately I have not found resolution yet, so please give me more time to fix it somehow.

@madeinjam
Copy link
Author

Thanks for your quick answer and the support, no hurries. Please let me know if I can help providing more information 👍

@bsideup
Copy link

bsideup commented Sep 23, 2016

FYI still not fixed

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

3 participants