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

Strikethrough #868

Closed
versedi opened this issue Mar 15, 2016 · 7 comments
Closed

Strikethrough #868

versedi opened this issue Mar 15, 2016 · 7 comments

Comments

@versedi
Copy link

versedi commented Mar 15, 2016

What do you think about adding a support for striked text by the same markdown as here?

~~strike~~
@ralphilius
Copy link

It's possible with this 3rd party extension:
https://github.com/aleray/mdx_del_ins

@d0ugal
Copy link
Member

d0ugal commented Mar 15, 2016

Yup, we wont add this directly to MkDocs. To use that extension, do this:

pip install mdx_del_int

Note: If you installed MkDocs via another method and not pip (like yum, homebrew or apt-get), you will likely need to install this extension in another way.

Then in your mkdocs.yaml add this.

markdown_extensions:
    - del_ins

@d0ugal d0ugal closed this as completed Mar 15, 2016
@versedi
Copy link
Author

versedi commented Mar 17, 2016

Didn't knew about that.
Everything's clear now, thank you!

@d0ugal
Copy link
Member

d0ugal commented Mar 17, 2016

Great, we probably need to do a better job at telling people about markdown extensions.

@pivaldi
Copy link
Contributor

pivaldi commented Nov 10, 2016

$ pip install mdx_del_int
Collecting mdx_del_int
  Could not find a version that satisfies the requirement mdx_del_int (from versions: )
No matching distribution found for mdx_del_int

but

$ pip install git+git://github.com/aleray/mdx_del_ins.git
Collecting git+git://github.com/aleray/mdx_del_ins.git
  Cloning git://github.com/aleray/mdx_del_ins.git to /tmp/pip-YVWmpj-build
Collecting Markdown>=2.0 (from mdx-del-ins===1.0)
Installing collected packages: Markdown, mdx-del-ins
  Running setup.py install for mdx-del-ins ... done
Successfully installed Markdown-2.6.7 mdx-del-ins-1.0

@facelessuser
Copy link
Contributor

@pivaldi you can also try https://github.com/facelessuser/pymdown-extensions and specifically enable the tilde extension. You can configure it to do what you want and what you don't. Just another option. If you prefer mdx_del_ins, you may have to talk with that author about why his extension doesn't install proper.

@XtremeOwnageDotCom
Copy link

For.... anyone else who stumbles across this.... Here is the solution:

markdown_extensions:
  - pymdownx.tilde

Documentation

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

6 participants