Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

can't support the # or ## to resolve title #131

Closed
hoohack opened this issue Oct 9, 2015 · 13 comments
Closed

can't support the # or ## to resolve title #131

hoohack opened this issue Oct 9, 2015 · 13 comments

Comments

@hoohack
Copy link

hoohack commented Oct 9, 2015

When using markdown-preview-plus plugin,I found it only support the ======= or ----------- to resolve the title syntax but can't support the # or ## to resolve the title.

@Galadirith
Copy link
Collaborator

@hhqcontinue Thanks so much for using MPP.

I've been unable to replicate your errors. When I place from 1-6 # at the beginning of a line I get a header. I'd be really grateful if you could post an example of a markdown document when headers don't work for you with #, preferable as a gist.

Thanks @hhqcontinue.

@hoohack
Copy link
Author

hoohack commented Oct 10, 2015

I am sorry.It is my fault that I missing a space between # and title, so it can't be rendered.Does is possible to support # that without space between title.If it can't,maybe I should close this issue.

@Galadirith
Copy link
Collaborator

@hhqcontinue absolutely. In fact we already added support for this in #96 after a discussion in #88. In fact it's an option that should already be enabled by default. But it seems it's not for you, so simply go to MPP's settings page in Atom and enable Use Lazy Headers.

Thanks @hhqcontinue, please let me know how that goes.

@hoohack
Copy link
Author

hoohack commented Oct 10, 2015

@Galadirith I have read your solution but I can't found Use Lazy Headers in MMP's settings page.

@Galadirith
Copy link
Collaborator

Thanks @hhqcontinue that's interesting. What would be really useful is if you could send me a list of all the plugins that you have installed and their associated versions. You can do this by running the command apm list --installed from a console. Thanks @hhqcontinue.

@hoohack
Copy link
Author

hoohack commented Oct 10, 2015

It is weird that it shows empty is the console.

@Galadirith
Copy link
Collaborator

Ok thanks @hhqcontinue. From your description it sounds like you havn't installed any packages. Did you follow our installation instructions which can be found here?

Thanks again @hhqcontinue.

@hoohack
Copy link
Author

hoohack commented Oct 10, 2015

um.I have installed a lot packages, or I can't tell you that a space between # and title.But it show empty weirdly.And I can see package list on graphical interface.I use windows 7 os by the way.Does is matter?

@hoohack
Copy link
Author

hoohack commented Oct 10, 2015

It turns out that atom has installed MPP plugin automatically,and the apm list --installed command can not show the package that was installed automatically.
One of my friend use linux os,and he can use the MPP plugin.he run the command,get list as follow:
apm list --installed
/home/qmonkey/.atom/packages (9)
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]

his os information:
Linux localhost 4.1.6-3-desktop #1 SMP PREEMPT Fri Aug 28 10:59:34 UTC 2015 (d867e86) x86_64 x86_64 x86_64 GNU/Linux

@leipert
Copy link
Contributor

leipert commented Oct 10, 2015 via email

@Galadirith
Copy link
Collaborator

@hhqcontinue thanks again for your reply. Just to follow up on what @leipert said, I would be incredibly surprised if MPP is installed automatically. Just to be clear, our package markdown-preview-plus is different from the default markdown package (that comes included with Atom) markdown-preview. Thanks @hhqcontinue.

@hoohack
Copy link
Author

hoohack commented Oct 13, 2015

@Galadirith Sorry to reply you so late.Yes, it is markdown plugin that atom installed autonatically.It's my fault to mistake this.
But I still can't get anything by running apm list --installed

@leipert
Copy link
Contributor

leipert commented Oct 13, 2015

As @Galadirith said, this package is not installed with Atom automatically. To report an issue with the automatic installed package markdown-preview, you can do that here:
https://github.com/atom/markdown-preview/issues

You can try markdown-preview-plus, which supports rendering headers correctly.

To install markdown-preview-plus, just do the following:

and disable the preinstalled markdown-preview package:

I will close this issue, feel free to reopen it, if you have further questions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants