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

Support horizontal layout in code and output boilerplates #2194

Merged
merged 10 commits into from
Mar 7, 2023
47 changes: 8 additions & 39 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,58 +33,27 @@ MarkBind extensions to Markdown | `==highlighted text==`<br>`%%grey text%%`<br>`
An example that uses GFMD syntax for task lists:
<div style="overflow-x: auto">

<table>
<tr>
  <td style="padding-top: 15px">

```markdown
**Things to do:**

- [x] Finish my changes
- [ ] Push my commits to GitHub
- [ ] Open a pull request

```
  </td>
  <td>&nbsp;→&nbsp;</td>
  <td>
<box>

<include src="codeAndOutputCode.md" boilerplate>
<variable name="code">
**Things to do:**

- [x] Finish my changes
- [ ] Push my commits to GitHub
- [ ] Open a pull request

</box>
  </td>
</tr>
</table>
</variable>
</include>

</div>

An example that uses KaTeX to generate math equations:

<div style="overflow-x: auto">

<table>
<tr>
  <td style="padding-top: 20px">

```markdown
Euler's Identity \(e^{i\pi}+1=0\) is a beautiful formula.
```
  </td>
  <td>&nbsp;→&nbsp;</td>
  <td>
<box>

<include src="codeAndOutputCode.md" boilerplate>
<variable name="code">
Euler's Identity \(e^{i\pi}+1=0\) is a beautiful formula.

</box>
  </td>
</tr>
</table>
</variable>
</include>
</div>

</panel>
Expand Down