You definitely want to **add Plainify transformer first**, because the
body content will become a HTML encoding mess. I left `HTMLEscape` there
as well, just be sure for security reasons. But if you want, I can
remove the second transformer.
Like a tweet on X will look like this:
![image](https://github.com/user-attachments/assets/73ab37b0-decc-47a4-8bbd-cf43cbef1641)
After implementing `transform.Plainify`, it will look much better:
![image](https://github.com/user-attachments/assets/962ba515-72ae-4b46-827f-2c477358d065)
(ignore the red, I don't have X premium pro blabla, it's red because I
hit the max limit of chars)
Signed-off-by: Melroy van den Berg <melroy@melroy.org>
Do NOT use the same cache name for social _share_ and social _follow_..
This will never work of course.
Signed-off-by: Melroy van den Berg <melroy@melroy.org>
Add missing `params` prefix on `params.ananke.social.follow` when used
in config.toml or hugo.toml.
Signed-off-by: Melroy van den Berg <melroy@melroy.org>
- adds language code to each highlight markdown
- uses consistent TOML for config samples and YAML for frontmatter
samples
**Closing issues**
closes#735
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
Bumps
[@davidsneighbour/release-config](https://github.com/davidsneighbour/configurations)
from 2024.3.46 to 2024.4.5.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="bf705855d0"><code>bf70585</code></a>
chore(release): publish v2024.4.5</li>
<li><a
href="9126d00afe"><code>9126d00</code></a>
chore: rework into commonjs package</li>
<li><a
href="11a1bb80ce"><code>11a1bb8</code></a>
chore(release): publish v2024.4.4</li>
<li><a
href="87bffa8f03"><code>87bffa8</code></a>
chore: rework into commonjs package</li>
<li><a
href="81de5630b0"><code>81de563</code></a>
chore(deps): update dependency eslint-plugin-cypress to v4 (<a
href="https://redirect.github.com/davidsneighbour/configurations/issues/1602">#1602</a>)</li>
<li><a
href="bda4d0e39f"><code>bda4d0e</code></a>
chore(deps): update dependency stylelint to v16.10.0 (<a
href="https://redirect.github.com/davidsneighbour/configurations/issues/1603">#1603</a>)</li>
<li><a
href="df1261f312"><code>df1261f</code></a>
chore(deps): update dependency eslint-plugin-cypress to v3.6.0 (<a
href="https://redirect.github.com/davidsneighbour/configurations/issues/1601">#1601</a>)</li>
<li><a
href="d9e9439f85"><code>d9e9439</code></a>
chore(deps): add and update dependencies</li>
<li><a
href="58c275e4a4"><code>58c275e</code></a>
biome(feat): add biome-config</li>
<li><a
href="47db79f6de"><code>47db79f</code></a>
chore(release): publish v2024.4.3</li>
<li>Additional commits viewable in <a
href="https://github.com/davidsneighbour/configurations/compare/v2024.3.46...v2024.4.5">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@davidsneighbour/release-config&package-manager=npm_and_yarn&previous-version=2024.3.46&new-version=2024.4.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps
[@davidsneighbour/tools](https://github.com/davidsneighbour/configurations)
from 2024.3.46 to 2024.4.5.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="bf705855d0"><code>bf70585</code></a>
chore(release): publish v2024.4.5</li>
<li><a
href="9126d00afe"><code>9126d00</code></a>
chore: rework into commonjs package</li>
<li><a
href="11a1bb80ce"><code>11a1bb8</code></a>
chore(release): publish v2024.4.4</li>
<li><a
href="87bffa8f03"><code>87bffa8</code></a>
chore: rework into commonjs package</li>
<li><a
href="81de5630b0"><code>81de563</code></a>
chore(deps): update dependency eslint-plugin-cypress to v4 (<a
href="https://redirect.github.com/davidsneighbour/configurations/issues/1602">#1602</a>)</li>
<li><a
href="bda4d0e39f"><code>bda4d0e</code></a>
chore(deps): update dependency stylelint to v16.10.0 (<a
href="https://redirect.github.com/davidsneighbour/configurations/issues/1603">#1603</a>)</li>
<li><a
href="df1261f312"><code>df1261f</code></a>
chore(deps): update dependency eslint-plugin-cypress to v3.6.0 (<a
href="https://redirect.github.com/davidsneighbour/configurations/issues/1601">#1601</a>)</li>
<li><a
href="d9e9439f85"><code>d9e9439</code></a>
chore(deps): add and update dependencies</li>
<li><a
href="58c275e4a4"><code>58c275e</code></a>
biome(feat): add biome-config</li>
<li><a
href="47db79f6de"><code>47db79f</code></a>
chore(release): publish v2024.4.3</li>
<li>Additional commits viewable in <a
href="https://github.com/davidsneighbour/configurations/compare/v2024.3.46...v2024.4.5">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@davidsneighbour/tools&package-manager=npm_and_yarn&previous-version=2024.3.46&new-version=2024.4.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>