baranovskypd / goodpress

WIP!! :warning: R Package to Write Posts from R Markdown to Wordpress :warning:
https://maelle.github.io/goodpress/
Other
34 stars 5 forks source link

Remove links to functions in the code block #16

Closed henrywangnl closed 4 years ago

henrywangnl commented 4 years ago

Hi Maelle,

It's me again :-)

I'm comparing the CSS styles between Rmd output with my WordPress theme. One thing I notice that links to R functions in the code block are automated generated. For example, in the post of https://rmd-wordpress.eu/post-rmd/, there is a link to summary() function (link to https://rdrr.io/r/base/summary.html).

Is it possible to remove it if I want?

Thanks!

maelle commented 4 years ago

ah, good question, that'd be something to change on downlit/hugodown side of things https://github.com/r-lib/downlit/

henrywangnl commented 4 years ago

Never mind, I removed the text underline via CSS...

maelle commented 4 years ago

Ok!

I had a question for you, did you use FTP or a plugin to edit .htaccess? Had you ever touched that file before?

henrywangnl commented 4 years ago

I used a plugin called WP Htaccess Editor

maelle commented 4 years ago

Hehe that is what I did too on the test website. Thanks.