Comments (3)
We could do that, sounds reasonable. But, how did you manage to serve it locally anyway? This shouldn't be a problem at all.
from mkdocs-material.
I've put documentation with desktop application and want to add os-link to index.html
, but when user opens local file fonts don't load.
I've found appropriate solution: use system fonts by additional stylesheets:
body, input {
font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
}
pre, code {
font-family: 'Consolas', 'Courier New', 'Courier', monospace;
}
It works ok and I think It's also better, because external fonts can be unavailable and unwanted for desktop (offline) applications.
from mkdocs-material.
The protocol-relative URL technique is now considered an anti-pattern, so I will set HTTPS explicitly.
from mkdocs-material.
Related Issues (20)
- Improving C,C++, C# Code Detection HOT 4
- Details: add back-to-top button for long admonitions HOT 3
- Support `mkdocs 1.6.0` HOT 41
- `abbr` extension breaks title attribute added using `attr_list` HOT 2
- Social plugin: can't find fonts on Windows HOT 17
- Button of content.action.view generated wrong URL when edit is inside the domain HOT 2
- Nested linked content tabs have strange border-bottom behavior HOT 2
- Tags plugin: sometimes crashes on empty tags HOT 3
- Japanese `readtime.other` shows a full-width `#` instead of the correct number HOT 7
- Configuration error when objects are in `markdown_extensions` HOT 1
- Social plugin crashes when font autoloading is disabled HOT 2
- Deprecation warning in tags plugin after upgrading MkDocs to 1.6 HOT 10
- Back-to-top button does not follow palette settings HOT 5
- Local `.git` directory is embedded in the zip file generated by `info` HOT 11
- Mermaid documentation: Superfences documentation not working for mkdocs build HOT 5
- Please update mermaid to 10.8.0 HOT 5
- `tags_file` deprecation, strict mode, and non-Insiders compatibility HOT 3
- mermaid version/feature support HOT 4
- Add PlantUML Markdown extension schema HOT 1
- Version switcher lately never succeeds at staying on the same page HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mkdocs-material.