Uncodin / bypass

Skip the HTML, Bypass takes markdown and renders it directly on Android and iOS.
http://uncodin.github.com/bypass/
Apache License 2.0
1.51k stars 192 forks source link

Can't change the display font in BPMarkdownView #159

Open mrcrow opened 10 years ago

mrcrow commented 10 years ago

I tried to change the h1Font to anything else like [UIFont systemFontOfSize:20], but failed

BPMarkdownView *markdownView = [[BPMarkdownView alloc] initWithFrame:self.view.bounds markdown:self.markdown];
markdownView.displaySettings.h1Font = [UIFont systemFontOfSize:20];
[self.view addSubview:markdownView];

Any idea?

shanus commented 10 years ago

I had the same problem. Wound up forking and modifying BPDisplaySettings.m to make the markdown views use the fonts and sizes needed.