Skip to content
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

Removing requirement for description/abstract #481

Open
dicook opened this issue Mar 6, 2023 · 2 comments
Open

Removing requirement for description/abstract #481

dicook opened this issue Mar 6, 2023 · 2 comments

Comments

@dicook
Copy link

dicook commented Mar 6, 2023

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).

@cderv
Copy link
Collaborator

cderv commented Mar 6, 2023

I believe this is also related to rjournal/rjtools#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
Copy link
Collaborator

cderv commented Mar 6, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants