Skip to content

Commit

Permalink
Remove figure params from code.md
Browse files Browse the repository at this point in the history
  • Loading branch information
willfaught committed Feb 13, 2023
1 parent 50f7a94 commit dfd762f
Showing 1 changed file with 3 additions and 87 deletions.
90 changes: 3 additions & 87 deletions exampleSite/content/shortcodes/code.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,90 +31,6 @@ Code:

```go-text-template
{{</* paige/code */>}}
q = 'q = %r; print(q %% q)'; print(q % q)
{{</* /paige/code */>}}
{{</* paige/code */>}}
q = 'q = %s%s%s; print(q %% (chr(39), q, chr(39)))'; print(q % (chr(39), q, chr(39)))
{{</* /paige/code */>}}
```

Result:

{{< paige/code >}}
q = 'q = %r; print(q %% q)'; print(q % q)
{{< /paige/code >}}

{{< paige/code >}}
q = 'q = %s%s%s; print(q %% (chr(39), q, chr(39)))'; print(q % (chr(39), q, chr(39)))
{{< /paige/code >}}

---

Code:

```go-text-template
{{</* paige/code caption="Python quine" */>}}
q = 'q = %r; print(q %% q)'; print(q % q)
{{</* /paige/code */>}}
```

Result:

{{< paige/code caption="Python quine" >}}
q = 'q = %s%s%s; print(q %% (chr(39), q, chr(39)))'; print(q % (chr(39), q, chr(39)))
{{< /paige/code >}}

---

Code:

```go-text-template
{{</* paige/code caption="Python quine" */>}}
q = 'q = %r; print(q %% q)'; print(q % q)
{{</* /paige/code */>}}
{{</* paige/code caption="Another Python quine" */>}}
q = 'q = %s%s%s; print(q %% (chr(39), q, chr(39)))'; print(q % (chr(39), q, chr(39)))
{{</* /paige/code */>}}
```

Result:

{{< paige/code caption="Python quine" >}}
q = 'q = %r; print(q %% q)'; print(q % q)
{{< /paige/code >}}

{{< paige/code caption="Another Python quine" >}}
q = 'q = %s%s%s; print(q %% (chr(39), q, chr(39)))'; print(q % (chr(39), q, chr(39)))
{{< /paige/code >}}

---

Code:

```go-text-template
{{</* paige/code caption="Python quine" float="end" */>}}
q = 'q = %r; print(q %% q)'; print(q % q)
{{</* /paige/code */>}}
Michael was having brunch with Sally Sitwell at a restaurant called Skip Church's Bistro. In addition to brunch, the restaurant was known for an item on the menu called the "Skip's Scramble", an omelet that contained everything on the menu. Do not order the Skip's Scramble. You might enjoy this. Oh. Em. Gee. That's amazing. It feels good to be back in a queen! I need a tea to give my dingle less tingle. Teamocil. Heyyyyyy Uncle Father Oscar. Do the right thing here. String this blind girl along so that dad doesn't have to pay his debt to society. Dead Dove DO NOT EAT. Come on, this is a Bluth family celebration. It's no place for children. If you didn't have adult onset diabetes, I wouldn't mind giving you a little sugar.
```

Result:

{{< paige/code caption="Python quine" float="end" >}}
q = 'q = %r; print(q %% q)'; print(q % q)
{{< /paige/code >}}

Michael was having brunch with Sally Sitwell at a restaurant called Skip Church's Bistro. In addition to brunch, the restaurant was known for an item on the menu called the "Skip's Scramble", an omelet that contained everything on the menu. Do not order the Skip's Scramble. You might enjoy this. Oh. Em. Gee. That's amazing. It feels good to be back in a queen! I need a tea to give my dingle less tingle. Teamocil. Heyyyyyy Uncle Father Oscar. Do the right thing here. String this blind girl along so that dad doesn't have to pay his debt to society. Dead Dove DO NOT EAT. Come on, this is a Bluth family celebration. It's no place for children. If you didn't have adult onset diabetes, I wouldn't mind giving you a little sugar.

---

Code:

```go-text-template
{{</* paige/code caption="Who you gonna call?" */>}}
---
- --
--( / \ )XXXXXXXXXXXXX
Expand All @@ -139,7 +55,7 @@ Code:

Result:

{{< paige/code caption="Who you gonna call?" >}}
{{< paige/code >}}
---
- --
--( / \ )XXXXXXXXXXXXX
Expand All @@ -166,7 +82,7 @@ Result:
Code:

```go-text-template
{{</* paige/code lang="c" caption="Fast inverse square root" options="linenos=true,hl_lines=10" */>}}
{{</* paige/code lang="c" options="linenos=true,hl_lines=10" */>}}
float Q_rsqrt( float number )
{
long i;
Expand All @@ -187,7 +103,7 @@ float Q_rsqrt( float number )

Result:

{{< paige/code lang="c" caption="Fast inverse square root" options="linenos=true,hl_lines=10" >}}
{{< paige/code lang="c" options="linenos=true,hl_lines=10" >}}
float Q_rsqrt( float number )
{
long i;
Expand Down

0 comments on commit dfd762f

Please sign in to comment.