The plain text language highlights URLs and makes them clickable links.
Simple URL
Example:
Visit http://example.com for more information.
HTTPS URLs
Example:
Secure sites use HTTPS like https://secure.example.com
You can also visit https://www.github.com or https://stackoverflow.com
URLs with Paths
Example:
Documentation: https://developer.mozilla.org/en-US/docs/Web
API Reference: https://api.example.com/v1/users
Deep link: https://example.com/products/category/item-123
URLs with Query Parameters
Example:
Search: https://www.google.com/search?q=javascript&lang=en
API call: https://api.example.com/search?query=test&limit=10&offset=0
Analytics: https://analytics.example.com/reports?start=2024-01-01&end=2024-12-31
URLs with Fragments
Example:
Jump to section: https://example.com/docs#installation
MDN reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript#see_also
Anchor link: https://github.com/user/repo#readme
URLs with Ports
Example:
Local server: http://localhost:3000
Custom port: https://example.com:8443/api
Development: http://192.168.1.100:8080
FTP URLs
Example:
Download files from ftp://ftp.example.com/pub/files
Legacy FTP: ftp://user:password@ftp.example.com/downloads
File URLs
Example:
Local file: file:///home/user/documents/readme.txt
Windows path: file:///C:/Users/User/Documents/file.pdf
Multiple URLs in Text
Example:
Check out these resources:
- Official site: https://example.com
- Documentation: https://docs.example.com
- Community forum: https://forum.example.com
- Bug tracker: https://github.com/user/repo/issues
- Stack Overflow: https://stackoverflow.com/questions/tagged/example
URLs with Subdomains
Example:
API endpoint: https://api.staging.example.com
CDN: https://cdn.example.com/assets/main.js
Blog: https://blog.example.com/2024/10/article-title
URLs in Sentences
Example:
You can find more information at https://example.com/about or contact us.
For support, visit https://support.example.com (requires login).
The source code is available at https://github.com/user/repo.
Plain Text Without URLs
Example:
This is plain text without any URLs.
It will be displayed as-is without any special highlighting.
Multiple lines are supported.
Indentation is preserved.
Even nested indentation works.
Mixed Content
Example:
Project: My Awesome App
Version: 1.0.0
License: MIT
Homepage: https://github.com/user/awesome-app
Documentation: https://awesome-app.readthedocs.io/en/latest/
Issues: https://github.com/user/awesome-app/issues
Installation:
1. Clone the repository: https://github.com/user/awesome-app.git
2. Install dependencies
3. Run the application
For more details, visit https://awesome-app.com
README-style Text
Example:
# My Project
A description of my project.
## Installation
```
npm install my-project
```
## Documentation
Full documentation is available at https://docs.myproject.com
## Links
- Website: https://myproject.com
- GitHub: https://github.com/user/myproject
- NPM: https://www.npmjs.com/package/myproject
- Issues: https://github.com/user/myproject/issues
## License
MIT License - see https://opensource.org/licenses/MIT
Log File Example
Example:
[2024-10-26 10:15:23] INFO Starting application
[2024-10-26 10:15:24] INFO Loading configuration from https://config.example.com
[2024-10-26 10:15:25] INFO Connecting to https://api.example.com/v1
[2024-10-26 10:15:26] INFO Successfully connected
[2024-10-26 10:15:27] WARN Slow response from https://api.example.com/v1/users
[2024-10-26 10:15:28] ERROR Failed to fetch https://api.example.com/v1/products
[2024-10-26 10:15:29] INFO Retrying connection
[2024-10-26 10:15:30] INFO Application ready