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

Refactor content.text options into separate content providers #133

Closed
traut opened this issue Mar 22, 2024 · 0 comments
Closed

Refactor content.text options into separate content providers #133

traut opened this issue Mar 22, 2024 · 0 comments
Labels
enhancement New feature or request fcl
Milestone

Comments

@traut
Copy link
Member

traut commented Mar 22, 2024

Design

Refactor format_as options from content.text into separate content providers:

instead of

content text {
   text = "some title"
   format_as = "title"
}

we would have

content title {
  value = "some title"
}

Notes

  • use value attribute instead of text used in the content.text block
  • type-specific attributes move into a dedicated content providers:
    • absolute_title_size becomes absolute_size and goes into content.title
    • code_language becomes language and goes into content.code
@traut traut added enhancement New feature or request fcl labels Mar 22, 2024
@traut traut added this to the v0.4 milestone Mar 22, 2024
@dobarx dobarx closed this as completed Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fcl
Projects
None yet
Development

No branches or pull requests

2 participants