New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<!--more--> dose not work at .Rmd #330
Comments
There are some other related issue on this point #142 and #92 with some interesting answer. |
Thanks Yihui ,Christophe for the great package and respond . And I found out that "< !--more-->" work on .Rmarkdown .for now I may just use .Rmarkdown instead of .Rmd in .Rmd I changed totitle: test002
|
It is not exactly the same as in the example in #92 - some {{ with .Description }}
{{ $.Scratch.Set "summary" (markdownify .) }}
{{ else }}
{{ $.Scratch.Set "summary" ((delimit (findRE "(<p.*?>(.|\n)*?</p>\\s*)+" .Content) "[…] ") | plainify | truncate (default 200 .Site.Params.summary_length) (default " …" .Site.Params.text.truncated ) | replaceRE "&" "&" | safeHTML) }}
{{ end }}
{{ $.Scratch.Get "summary" }} Did you try exactly as proposed ? I assumed it should work as is before any modification.
|
Thanks .now I know the difference between .Rmd and .Rmarkdown. Problem Solved !!! |
same as
#21
it can be slightly modified in .md documents by adding a tag below content you wish to be included. This tag doesn't seem to work on blogdown-generated .Rmd files, causing the default summary to be the first 70 words of the post (which often includes the table of contents and other materials that aren't appropriate for a summary).
The text was updated successfully, but these errors were encountered: