Twitter | Search | |
Yihui Xie
. I read Twitter on a weekly basis. Normally I don't answer questions here. I read Stack Overflow questions daily.
2,093
Tweets
61
Following
17,575
Followers
Tweets
Yihui Xie Jan 10
Absolutely. Thank you very much for sharing! It happens all the time: different people working on similar things without realizing each other's effort. Don't worry about that. I'm sure I'll learn a ton and get great inspiration from your posterdown!
Reply Retweet Like
Yihui Xie Jan 10
Replying to @BenjaminWolfe
Guess who upvoted? :)
Reply Retweet Like
Yihui Xie Jan 10
Replying to @martinjhnhadley
That worked just by accident. These "engines" don't exist in knitr, and the default behavior is just to echo the code: So ```{latex} is the same as ```latex. The latter is valid Pandoc Markdown syntax and triggers syntax highlighting.
Reply Retweet Like
Yihui Xie Jan 10
These limitations are not really difficult to remove; pagedown is v0.1 only and two months old, so stay tuned. CSS is super powerful and fun (and I admit it can be as painful as LaTeX sometimes).
Reply Retweet Like
Yihui Xie Jan 2
Replying to @marcbeldata @ma_salmon
R Markdown does support Python as well as many other languages:
Reply Retweet Like
Yihui Xie Dec 27
The rtweet package is very handy. I have a website that is automatically rebuilt by scraping tweets on a daily basis: However, if you have anything important to rant about, I suggest you write a blog post instead. Tweets can be too easily lost.
Reply Retweet Like
Yihui Xie Dec 27
Replying to @MattOldach
You should only include the part between <body> and </body> in test.html. You cannot include a full HTML document in another HTML document (HTML would be syntactically invalid), unless you use iframes.
Reply Retweet Like
Yihui Xie Dec 21
Replying to @RikaGorn
Yes. When in doubt, take a look at the status page:
Reply Retweet Like
Yihui Xie Dec 21
Replying to @dataandme @alexpghayes
highlight.js support stan. I feel I have been saying this about once a week to different people: The answer to your question is buried in Section 2.5 of the blogdown book. I can tell you the direct answer, but you may want to learn how to fish instead :)
Reply Retweet Like
Yihui Xie Dec 21
Replying to @asimumba_
Congratulations! You finally discovered one of the top secrets about the RStudio IDE: the whole thing is a web browser!
Reply Retweet Like
Yihui Xie Dec 19
Replying to @martinjhnhadley
I don't often announce new releases of packages I maintain. Please feel free to write an "unofficial" blog post by yourself! Thank you!
Reply Retweet Like
Yihui Xie Dec 15
Because I had a use case in 2014 and wanted such a function myself for inline R expressions in knitr:
Reply Retweet Like
Yihui Xie Dec 14
Replying to @theRcast @StatStas
Yes, I'll email you. Thanks in advance!
Reply Retweet Like
Yihui Xie Dec 12
I'm not surprised. I guess we'll eventually need a hugo-radix theme:
Reply Retweet Like
Yihui Xie Dec 11
Replying to @jwgayler @Netlify
has this feature, if you don't mind a paid plan: If you have your own web server and know Apache/Nginx/..., you can certainly do it by yourself.
Reply Retweet Like
Yihui Xie Dec 7
Replying to @apreshill @dgkeyes
It depends on the HTML structure, but this should work in most cases: aside {margin-left: 100%; position: absolute;}. BTW, for full-width images: img {width: 100vw; margin-left: calc(50% - 50vw);}. My wild estimate is that 200 lines of CSS can approximate radix fairly well.
Reply Retweet Like
Yihui Xie Dec 6
Replying to @_ColinFay
So you have already started preparing for the 2019 bookdown contest?! 😂
Reply Retweet Like
Yihui Xie Dec 6
Replying to @dgkeyes @apreshill
Someday I might write a Hugo theme based on the radix/distill style. I feel modern CSS frameworks are making things unnecessarily complicated, e.g. you don't really need the CSS grid layout to create a fullwidth element---two lines of native CSS could do that.
Reply Retweet Like
Yihui Xie Dec 1
Replying to @ashwinmalshe
Haha, well, I absolutely love the midwest :) I prefer living in boring places because it is easier to have a richer inner life.
Reply Retweet Like
Yihui Xie Nov 30
Replying to @fubits
Thanks! That sounds awesome!
Reply Retweet Like