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

Parse and render practices using the MDX components #77

Open
Tracked by #76
NathanLovato opened this issue Dec 18, 2024 · 0 comments
Open
Tracked by #76

Parse and render practices using the MDX components #77

NathanLovato opened this issue Dec 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@NathanLovato
Copy link
Contributor

NathanLovato commented Dec 18, 2024

Depends on #65

This:

<Practice>

<Requirement>you need X</requirement>
Hey, this is some _text_
<Requirement>you need Y</requirement>
<Hint>do the thing</Hint>
<Hint>do the other thing</Hint>

<Description>The description</Description>

<Note>blah, a note</Note>

</Pratice>
<Practice>

Another practice

</Practice>

Should become this:

<div class="practices-wrapper">

  <section class="practice">
    <p class="practice-description">
    The description
    </p>
    <ul class="requirements">
      <li>You need X</li>
      <li>You need Y</li>
    </ul>
    <p>Hey, this is some text</p>
    <div class="note">blah, a note</div>

    <ul class="hints">
      <li>Do the thing</li>
      <li>Do the other thing</li>
    </ul>
  </section>

  <section class="practice">
    <p>Another practice</p>
  </section>

</div>
@NathanLovato NathanLovato mentioned this issue Dec 18, 2024
12 tasks
@NathanLovato NathanLovato added the enhancement New feature or request label Dec 18, 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
Projects
None yet
Development

No branches or pull requests

1 participant