Atemu
18 Ottobre 2024, 5:37am
1
Quando si collega un file Github con un’ancora, l’anteprima che Discourse renderizza è dall’inizio del file anziché dall’ancora in poi.
Vedi, ad esempio:
<a href="https://www.discourse.org/">
<img src="images/discourse-readme-logo.png" width="300px">
</a>
The online home for your community.
<img width="1920" height="1135" alt="github-readme" src="https://github.com/user-attachments/assets/abaaf30f-0cfb-4505-a530-6f8e5a43d24b" />
> You can self-host Discourse on your own infrastructure. But if you'd rather skip the setup, maintenance, and server management, we offer official Discourse hosting.
>
> 👉 Learn more about [Discourse hosting](https://discourse.org/pricing)
Discourse is a 100% open-source community platform for those who want complete control over how and where their site is run.
Our platform has been battle-tested for over a decade and continues to evolve to meet users’ needs for a powerful community platform.
**With Discourse, you can:**
* 💬 **Create discussion topics** to foster meaningful conversations.
This file has been truncated. show original
Questa anteprima dovrebbe mostrare la sezione di sviluppo, non l’inizio del readme.
(Non sono sicuro se questo sia effettivamente un bug.)
3 Mi Piace
nat
(Natalie T)
25 Ottobre 2024, 9:41am
2
Ho aggiunto un #pr-welcome qui se desideri contribuire a migliorarlo.
1 Mi Piace
Ho esaminato questa PR e ho notato che Discourse tenta di servire contenuti direttamente dal repository utilizzando https://raw.githubusercontent.com, che fornisce un file raw semplice e non stilizzato (ad esempio, https://raw.githubusercontent.com/discourse/discourse/main/README.md#development). Per i riferimenti specifici di riga (come #L-{numero-riga}), salta direttamente alla riga specificata nel file per visualizzare il contenuto. Per visualizzare in anteprima una sezione specifica (ad esempio, #development, #requirements), è possibile specificare il numero di riga come mostrato di seguito:
Discourse is a 100% open-source community platform for those who want complete control over how and where their site is run.
Our platform has been battle-tested for over a decade and continues to evolve to meet users’ needs for a powerful community platform.
**With Discourse, you can:**
* 💬 **Create discussion topics** to foster meaningful conversations.
* ⚡️ **Connect in real-time** with built-in chat.
* 🎨 **Customize your experience** with an ever-growing selection of official and community themes.
* 🤖 **Enhance your community** with plugins, from chatbots powered by [Discourse AI](https://meta.discourse.org/t/discourse-ai/259214) to advanced tools like SQL analysis with the [Data Explorer](https://meta.discourse.org/t/discourse-data-explorer/32566) plugin.
To learn more, visit [discourse.org](https://www.discourse.org/) and join our support community at [meta.discourse.org](https://meta.discourse.org/).
Here are just a few of the incredible communities using Discourse:

1 Mi Piace