Feature updates #33

Closed
wants to merge 6 commits into
from

Projects

None yet

2 participants

@ShadowKyogre
Owner

These commits add:

  • syntax highlighting for asciimath (for #32)
  • enable asciimathml on future notebooks (requires the python 3 version of that module) (for #32)
  • a small fix for highlighting nested lists
  • Quick navigation of notes via an autocompleting box that can be autofocused with Ctrl+G (for #19)
@rnons
Collaborator
rnons commented Jul 17, 2014

Great, thank you for your contributions.
Would you like to take over mikidown?

@ShadowKyogre Complete mathjax support by pointing to the mathjax cdn by default.
Users can configure which mathjax they want by changing the mathJax
setting value to point to a local installation or copy.
71d05f4
@ShadowKyogre
Owner

@rnons : You're very much welcome! And if it'd make maintaining mikidown easier for you, I'd be happy to :).

@rnons
Collaborator
rnons commented Jul 18, 2014

@ShadowKyogre What I mean is I'd like to transfer the ownership of mikidown to you, and If you take it I won't maintain mikidown anymore.

Can you please add some document on how to enable/disable asciimathml/mathjax in this PR.
On a side note, we may need a plugin mechanism and a dialog to allow user enable/disable a plugin/feature easily.

@ShadowKyogre
Owner

@rnons: Ooooh, all right. I should be able to handle maintaining it.

AsciiMathML doc stuff

Enabling

For existing notebooks, will be autoenabled on new ones. This is for enabling it on old ones:

  1. Make sure that the user has the python 3 version of asciimathml installed.
  2. in notebookPath/notebook.conf, look for the line that says "extensions =". Add asciimathml to the end of it.
  3. in notebookPath/notebook.conf, add a line that says:mathJax = /path/to/your/MathJax.js
    For most people, pointing to the mathjax CDN mentioned below is fine:
    http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML
  4. Type away some asciimathml. The script pointed to in mathJax should auto-process the MathML elements spat out by asciimathml.

Disabling asciimathml

  1. in notebookPath/notebook.conf, look for the line that says "extensions =". Remove asciimathml from it.

Enabling/Disabling plugins easily?

I definitely agree with that. It's something that I've been thinking of. Just requires a bit of thinking of how to list all the available markdown modules for the user to toggle with the GUI.

@rnons
Collaborator
rnons commented Jul 19, 2014

It seems in order to transfer, you need to delete ShadowKyogre/mikidown or rename it temporarily.

@ShadowKyogre
Owner

@rnons: Renamed personal copy now. Should be able to transfer it.

@rnons
Collaborator
rnons commented Jul 19, 2014

Sorry, github complains

ShadowKyogre already has a repository in the rnons/mikidown network

I believe you need to delete the online version, since you have local copy, it should not cause any trouble.

@ShadowKyogre
Owner

Deleted it and extracted the last few commits into a patch file to apply with ownership transfer. Try it now.

@rnons
Collaborator
rnons commented Jul 19, 2014

Repository transfer to ShadowKyogre requested

Have you received any notification?

@ShadowKyogre
Owner

Yup. Clicked the repository transfer link just now.

@ShadowKyogre
Owner

Applied the commits now. Will close this issue.

@ShadowKyogre ShadowKyogre referenced this pull request Jul 19, 2014
Closed

Mathjax support #32

@rnons
Collaborator
rnons commented Jul 19, 2014

Cheers. Good luck.

@rnons
Collaborator
rnons commented Jul 19, 2014

@ShadowKyogre Do you have a pypi account? I'd like to make you the owner of mikidown on pypi.

@ShadowKyogre
Owner

@rnons : Just made one right now considering how odd it was I didn't have one (esp. when I tend to write in python a lot)

@rnons
Collaborator
rnons commented Jul 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment