-
-
Notifications
You must be signed in to change notification settings - Fork 113
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
[ENH] More org-mode functionalities in preview pane #113
Comments
ToC is a great idea! Images should already work though, do they not for you? They don't look great yet (aspect ratio is a bit wonky) but they should at least display. Syntax highlighting is not difficult to implement at all (in fact it's already there, just commented out) but I couldn't get the css to work right yet, I'll try to add it asap. Not exactly sure what you mean with descriptive urls though, care to enlighten me? |
Images doesn't display for me, I tried with some files and any difference, I thought it was just a feature not implemented. |
Could you show me an example of a file which has images that do not display? And where do you store the images?
|
The external links indeed do not work, I'll fix that! |
Another thing that I saw and would be cool to have, is the #+RESULTS: of code blocks show in a distinguished block too, because now they just load as simple text. |
The images thing should now be fixed, let me know if you run up against any other cases that don't work! The aspect ratio is still not correct but that's because Next is kind of annoying about nonlocal images, I'm still figuring that out. |
External links should now also show properly, although i'll need to come up with a more general solution eventually. |
The external links are indeed working just fine. |
I am on MacOS though, I can test this on my Linux machine later |
Could you inspect the source of where that image is supposed to be? F12 to bring it up |
That's very strange. (org-link-decode "/home/label/pix/emacs") and (in a temp buffer!) (insert-file-contents-literally "home/label/pix/emacs") I wonder what causes your Emacs to instead try to open the file, because the problem is Emacs-side. |
Although I can remember having this problem myself as well, but that was only when visiting the url, but I thought I solved that in any case. |
That is indeed what's supposed to happen. Hmmm. |
Not yet! Could you perhaps make a separate issue for this? Will be easier for me to keep track of it |
Yes, I did just now. Thanks for looking into it. |
For those interested, I added a quick 'n' dirty "hack" locally to have The "hack" consists of adding .exampe{font-family:SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:1em;white-space:pre-wrap;} to the Note: the missing |
Would be cool to have it render more features of org-mode like tables, tables of contents (A bar at the side with the headings would be nice), descriptive URLs, images and syntax highlighting in code blocks (this one seems a little audacious). But I don't know if those things are exactly stuff that you can solve, maybe have more with the parser.
The text was updated successfully, but these errors were encountered: