distill icon indicating copy to clipboard operation
distill copied to clipboard

Removing requirement for description/abstract

Open dicook opened this issue 1 year ago • 2 comments

Would it be possible to remove the requirement for a description? I have some articles in the R Journal which are news items, not regular articles, and it would be better if these were without the abstract (i.e. the description).

dicook avatar Mar 06 '23 01:03 dicook

I believe this is also related to https://github.com/rjournal/rjtools/issues/59.

As explained in #480 , I don't think the requirement is in distill

---
title: "Untitled"
date: "`r Sys.Date()`"
output: distill::distill_article
---

Content

this renders fine without description.

did you check rjtools ? If I remember correctly it will do some processing for description fields as it is using that as an abstract instead ?

cderv avatar Mar 06 '23 12:03 cderv

It seems that if not description then rjtools will set a default one https://github.com/rjournal/rjtools/blob/8ff12f0f38355ea9249dffe119310c68ab8fa885/R/rj_web_article.R#L38

Could be the requirement in question ?

If I am rendering a document without abstract in will put one for me

image

cderv avatar Mar 06 '23 16:03 cderv