You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(refactor): move renders to sub directory based on language
## Details
Rather than storing all the render classes in the render folder directly
move each one to a sub folder based on the language it is rendering for.
- html
- html_comment -> comment
- html_tag -> tag
- markdown
- checkbox
- code
- dash
- document
- heading
- bullet
- paragraph
- quote
- section
- table
- markdown_inline (uses folder name inline instead of markdown_inline)
- code_inline -> code
- inline_highlight -> highlight
- link
- shortcut
Other changes:
- instead of exposing any fields from `Base` render module, replace the
`new` method with `execute` which in addition to calling `setup` also
calls `run` if setup returns `true`, return whether `run` was executed
as a boolean, for future use
- make `run` method `protected` in all render implementations, since
it's not only used within `Base:execute`
0 commit comments