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

configure individual examples using embedded TOML #8

Open
ctb opened this issue May 19, 2022 · 0 comments
Open

configure individual examples using embedded TOML #8

ctb opened this issue May 19, 2022 · 0 comments
Labels
intermediate intermediate documentation for fine tuning ribbity

Comments

@ctb
Copy link
Collaborator

ctb commented May 19, 2022

you can set options for individual posts by using TOML.

To do this, write TOML configuration as below,

priority = 999 # sort order - 999 is default, lowest priority. 1 is highest.
frontpage = false # true to show up on front page
ignore = false # true to ignore this issue entirely

and enclose it in --- both before and after. The TOML will then be parsed by ribbity and the options will be applied.

Generally, you will want to hide these options from viewers. This can be done by enclosing them in Markdown / HTML comment markers, that is, putting <!-- and --> around the TOML configuration section.

Example

Here is an example - this is a screenshot of issue 1 in the editor.

Screen Shot 2022-05-19 at 6 15 16 AM

@ctb ctb added the intermediate intermediate documentation for fine tuning ribbity label May 19, 2022
@ctb ctb changed the title configuring individual examples using embedded TOML configure individual examples using embedded TOML May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
intermediate intermediate documentation for fine tuning ribbity
Projects
None yet
Development

No branches or pull requests

1 participant