Codeberg/Documentation
42
199
Fork
You've already forked Documentation
161

add docs on alternative link syntax #638

Merged
mahlzahn merged 3 commits from gedankenstuecke/Documentation:link_format into main 2025年07月11日 21:09:46 +02:00

This adds a small section to the markdown link section of the docs to also outline the [[ link ]] syntax that is supported in markdown texts that are rendered to html.

Closes #524.

This adds a small section to the markdown link section of the docs to also outline the `[[ link ]]` syntax that is supported in markdown texts that are rendered to html. Closes #524.
add alternative link syntax
Some checks failed
ci/woodpecker/pr/lint Pipeline failed
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/deploy-preview Pipeline was successful
990cf55114
Collaborator
Copy link

Surge PR preview deployment succeeded. View it at https://Codeberg-Documentation-pr-638.surge.sh

<!--woodpeckerci-plugin-surge-preview--> Surge PR preview deployment succeeded. View it at https://Codeberg-Documentation-pr-638.surge.sh
fix typo
All checks were successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/deploy-preview Pipeline was successful
1a28d9ab2b
mahlzahn left a comment
Copy link

Can't preview it, but LGTM, thanks!

Can't preview it, but LGTM, thanks!
Author
Member
Copy link

Ah yes, the preview seems like it's still having issues, here's a screenshot of the addition:

image

Ah yes, the preview seems like it's still having issues, here's a screenshot of the addition: ![image](/attachments/3a5131fc-4b11-49aa-a99a-0f497f5a7dff)
130 KiB
@ -75,0 +75,4 @@
## Alternative link syntax
The link parser used in forgejo can also work with the _double square brackets_ syntax in issues and other places where markdown is rendered:
Member
Copy link

s/forgejo/Forgejo/

`s/forgejo/Forgejo/`
gedankenstuecke marked this conversation as resolved
@ -75,0 +101,4 @@
{% admonition "warning" %}
Be aware that this syntax is 'inverted' compared to the one that [Mediawiki](https://www.mediawiki.org) uses (i.e. `[[https://example.com|link title]]`).
Member
Copy link

MediaWiki

MediaWiki
gedankenstuecke marked this conversation as resolved
fix notes review mahlzahn
Some checks are pending
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/deploy-preview Pipeline was successful
ci/woodpecker/pull_request_closed/deploy-preview Pipeline is pending approval
abc9eacd22
Sign in to join this conversation.
No reviewers
Labels
Clear labels
Codeberg Pages
Issues affecting Codeberg Pages
Documentation Usability
Issues related to using and reading docs.codeberg.org
Forgejo
Good First Issue! 👋
Kind: Bug
Kind: Documentation
Kind: Enhancement
Kind: Feature
Kind: Question
Kind: Security
Licensing
Part: Generator
This is related to the generation of the documentation, not to the content itself
Priority: High
The priority is high
Priority: Low
The priority is low
Priority: Medium
The priority is medium
Reviewed: Confirmed
Something has been confirmed
Reviewed: Duplicate
Something exists already
Reviewed: Invalid
Something was marked as invalid
Reviewed: Wontfix
Something won't be fixed
Status: Blocked
Status: Help wanted
Contributions are welcome!
Status: In progress
Work is in progress
Status: Needs feedback
Feedback is needed
Status: Ready for Review
Work is completed
Status: Review
Review is in progress / Reviewers wanted
Status: Stale
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Codeberg/Documentation!638
Reference in a new issue
Codeberg/Documentation
No description provided.
Delete branch "gedankenstuecke/Documentation:link_format"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?