作者:谢绝沟通 | 来源:互联网 | 2023-08-27 11:23
Description
Progressbar extension shows only the label. E.g.,
or
1
| [= 30% "30%"]{: .thin} |
renders only as
.
Expected behavior
The progressbar is rendered.
Actual behavior
The progressbar is not rendered
Steps to reproduce the bug
- write
into md file
Package versions
- Python:
Python 3.6.5
- MkDocs:
mkdocs, version 1.0.2
- Material:
1
| pip show mkdocs-material | grep -E ^Version |
Version: 3.0.3
Project configuration
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
| yaml
markdown_extensions:
- attr_list
- admonition
- codehilite
- footnotes
- def_list
- toc:
permalink: true
- pymdownx.progressbar:
- pymdownx.arithmatex
- pymdownx.betterem:
smart_enable: all
- pymdownx.caret
- pymdownx.critic
- pymdownx.details
- pymdownx.emoji:
emoji_generator: !!python/name:pymdownx.emoji.to_svg
- pymdownx.inlinehilite
- pymdownx.magiclink
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.superfences
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
- pymdownx.keys
theme:
name: 'material'
favicon: 'img/neuron.ico'
extra_Javascript:
- 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-MML-AM_CHTML' |
System information
- OS: [The operating system you're running] Ubuntu 18.04
- Browser: [The browser used, if relevant] Chromium 68.0.3440.106 (Official Build)
该提问来源于开源项目:squidfunk/mkdocs-material
I also have CSS here for progress bar https://github.com/facelessuser/pymdown-extensions/blob/master/docs/src/scss/_progressbar.scss, but you'd have to convert it to CSS. It may be a bit more materialish; it's what my docs use.