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

Suggestion: Deprecate old poll style #215

Open
IstoraMandiri opened this issue Oct 2, 2022 · 2 comments
Open

Suggestion: Deprecate old poll style #215

IstoraMandiri opened this issue Oct 2, 2022 · 2 comments

Comments

@IstoraMandiri
Copy link
Contributor

IstoraMandiri commented Oct 2, 2022

Now that Front Matter is supported and includes polls, to simplify documentation and standardize usage, it may be worth deprecating (and/or dropping from the documentation) the ability to use the original poll format. I.e.

Do not recommend this version

What is your favorite color?

( ) Red
( ) Blue
( ) Green

Instead, only show / support this version

---
poll:
  - Red
  - Blue
  - Green
---

What is your favorite color?
@IstoraMandiri IstoraMandiri changed the title Suggestion: Deprecate old poll type Suggestion: Deprecate old poll style Oct 2, 2022
@MattIPv4
Copy link
Member

MattIPv4 commented Oct 2, 2022

I disagree with removing the old body syntax for polls -- in fact, we even have an issue open to look at adding body syntax for media as well, which was pulled out of the original frontmatter thread: #200

@gr2m
Copy link
Contributor

gr2m commented Oct 3, 2022

I'm leaning towards deprecating the current poll style, too, for the sake of lowering complexity and maintenance. I think it's simple enough to document how to add polls with front-matter. The original idea for ^ came before we discussed front-matter, I could live without that as well. I think it will become more clear that way. And as we define a syntax to define a tweet, keeping it simple and well tested will make it more likely for other projects to pick it up as well, which would be pretty great.

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

3 participants