yixuan/prettydoc

Italic not working

leo-filgueira opened this issue · 4 comments

I'm using prettydoc theme cayman, and I've done the following:

---
title: "Title"
author: "Author"
date: "`r Sys.Date()`"
output:
  prettydoc::html_pretty:
    theme: cayman
    highlight: github
---

*italic* text 

But the word "italic" is normal in HTML.

italico

My session info:

R version 3.4.0 (2017-04-21)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

Matrix products: default

locale:
[1] LC_COLLATE=Portuguese_Brazil.1252 
[2] LC_CTYPE=Portuguese_Brazil.1252   
[3] LC_MONETARY=Portuguese_Brazil.1252
[4] LC_NUMERIC=C                      
[5] LC_TIME=Portuguese_Brazil.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods  
[7] base     

other attached packages:
[1] prettydoc_0.2.1

loaded via a namespace (and not attached):
 [1] compiler_3.4.0  backports_1.1.2 magrittr_1.5    rprojroot_1.3-2
 [5] htmltools_0.3.6 tools_3.4.0     yaml_2.2.0      Rcpp_0.12.18   
 [9] stringi_1.2.4   rmarkdown_1.10  knitr_1.20      stringr_1.3.1  
[13] digest_0.6.15   evaluate_0.11 

I'm running into the same issue. However, italics works fine when you open the html document in a browser (at least in chrome).
prettydoc_italic1
prettydoc_italic2

Interestingly it works well for me, even in the RStudio browser.

image

@leo-filgueira Can you reproduce the issue in any other major browsers?

@yixuan , I've opened in Chrome and worked. Maybe it's a problem in my RStudio browser version