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

enforce structure of html for definitions and theorems #18

Open
cuppajoeman opened this issue Sep 15, 2023 · 0 comments
Open

enforce structure of html for definitions and theorems #18

cuppajoeman opened this issue Sep 15, 2023 · 0 comments

Comments

@cuppajoeman
Copy link
Owner

cuppajoeman commented Sep 15, 2023

Every theorem should have this form

<div class="theorem" id="theorem-...">
    <div class="title">...</div>
    <div class="content">...</div>
    <div class="proof">...</div>
</div>

Therefore the user creating the html still is able to see the structure of general theorem without having to care too much about how it will be styled.

If a user creates a theorem and it doesn't contain the required parameters a warning should be shown on the theorem.

We can construct the styles by using template files and then injecting the content they wrote between the correct divs

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

1 participant