Comments (3)
I think I can help: put the css in the same directory of the fonts (inside the assets folder) and then add the following to your css (using the right font name):
@font-face {
font-family: 'Lato-Light';
src: url('Lato-Light.ttf')
}
Dem
from markdownview.
but how can i set it to a string value programmatically? @demetrio812
from markdownview.
if you looked at the theme example in the sample app you will see this is done by having multiple CSS files. However, there's currently no support for changing the font programmatically without using CSS.
from markdownview.
Related Issues (20)
- Bump versionCode HOT 3
- can't support under android 5.0 HOT 2
- Code formatting issue (enter + code + tab) HOT 1
- Github Markdown HOT 2
- Support different markdown processors
- How to load a md file from sdcard HOT 1
- How to make a table? HOT 3
- Can this library support code highlight and HTTPS connection? HOT 1
- Errors in rendering multiple lists in a row HOT 1
- Can not display table HOT 1
- UTF-8 encoded files not displaying correctly HOT 1
- MathJax Support HOT 1
- Bad performance HOT 1
- How scale image (without horizontal scrolling)? HOT 2
- Doesn't render image links properly HOT 2
- Cannot Embed images HOT 1
- Strikethrough not working
- Why does it need access to the internet? HOT 1
- Listener when MardownView is loaded HOT 1
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 markdownview.