Skip to content

Commit 0aca5f0

Browse files
committed
Upgrade Hongdown to 0.3.2
1 parent e2c0790 commit 0aca5f0

8 files changed

Lines changed: 61 additions & 20 deletions

File tree

AGENTS.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -379,9 +379,8 @@ When writing documentation in English:
379379
follow the rules below manually.
380380
- Use sentence case for titles and headings (capitalize only the first word
381381
and proper nouns), not Title Case.
382-
- Use curly quotation marks ("like this") for quotations in English prose.
383-
Use straight apostrophes (like this: '...') for contractions and
384-
possessives.
382+
- Use curly quotation marks (“like this”) for quotations in English prose.
383+
Use straight apostrophes for contractions and possessives.
385384
- Use *italics* for emphasis rather than **bold**. Do not overuse emphasis.
386385
- Avoid common LLM writing patterns: overusing em dashes, excessive emphasis,
387386
compulsive summarizing and categorizing, and rigid textbook-like structure

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"exclude": ["*.md", "*.yaml", "*.yml"]
2525
},
2626
"tasks": {
27-
"hongdown": "deno run -A npm:hongdown@^0.1.0-dev.37",
27+
"hongdown": "deno run -A npm:hongdown@^0.3.2",
2828
"check": {
2929
"dependencies": ["check-versions"],
3030
"command": "deno check && deno lint && deno fmt --check && deno task hongdown --check && deno publish --dry-run --allow-dirty"

deno.lock

Lines changed: 49 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/concepts/bot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ It consists of the following properties:
243243
~~~~ typescript twoslash
244244
// @noErrors: 2345
245245
import { createBot, parseSemVer } from "@fedify/botkit";
246-
246+
247247
const bot = createBot<void>({
248248
// Omitted other options for brevity
249249
software: {

docs/concepts/events.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ document.
207207
> bot.onReply = async (session, reply) => {
208208
> await reply.reply(text`Thanks for your reply, ${reply.actor}!`);
209209
> };
210-
>
210+
>
211211
> bot.onMention = async (session, message) => {
212212
> if (message.replyTarget == null) { // [!code highlight]
213213
> await message.reply(text`You called me, ${message.actor}?`);
@@ -225,7 +225,7 @@ document.
225225
> bot.onMention = async (session, message) => {
226226
> await message.reply(text`You called me, ${message.actor}?`);
227227
> };
228-
>
228+
>
229229
> bot.onReply = async (session, reply) => {
230230
> if (!reply.mentions.some(m => m.id?.href === session.actorId.href)) {
231231
> await reply.reply(text`Thanks for your reply, ${reply.actor}!`);
@@ -307,7 +307,7 @@ bot.onMessage = async (session, message) => {
307307
> bot.onMention = async (session, message) => {
308308
> await message.reply(text`You called me, ${message.actor}?`);
309309
> };
310-
>
310+
>
311311
> bot.onMessage = async (session, message) => {
312312
> if (message.mentions.some(m => m.id?.href === session.actorId.href)) {
313313
> return;

docs/deploy/deno-deploy.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ Deploying your bot
7272
- Create the project automatically if it doesn't exist
7373
- Look for common entrypoint files like *main.ts* or *src/main.ts*
7474
75-
7675
You can also specify these explicitly:
7776
7877
~~~~ sh

docs/examples.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ This example showcases how to combine ActivityPub's social features with web
7171
authentication, demonstrating BotKit's capability to bridge fediverse
7272
interactions with traditional web applications.
7373

74+
[Hono]: https://hono.dev/
75+
[Pico CSS]: https://picocss.com/
76+
[Deno KV]: https://deno.com/kv
77+
7478
<!-- hongdown-disable -->
7579

7680
::: code-group
@@ -81,10 +85,6 @@ interactions with traditional web applications.
8185

8286
<!-- hongdown-enable -->
8387

84-
[Hono]: https://hono.dev/
85-
[Pico CSS]: https://picocss.com/
86-
[Deno KV]: https://deno.com/kv
87-
8888

8989
FediChatBot
9090
-----------

docs/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Rich content
9191
// ---cut-before---
9292
await session.publish(
9393
text`Check out ${link("BotKit docs", "https://botkit.fedify.dev/")}!
94-
94+
9595
${hashtag("FediverseBot")}`,
9696
{
9797
attachments: [

0 commit comments

Comments
 (0)