Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: how do you do code snippets #485

Open
agzam opened this issue Jul 17, 2024 · 1 comment
Open

Question: how do you do code snippets #485

agzam opened this issue Jul 17, 2024 · 1 comment

Comments

@agzam
Copy link

agzam commented Jul 17, 2024

I apologize for a seemingly stupid question, but how do you guys use code snippets?

I'm trying to wrap them in blocks like:

```python
 print("Goodbye, World!")
```

but they get sent out "as is". In native Telegram client it turns into a block with a syntax highlighting, etc.

@zevlg
Copy link
Owner

zevlg commented Jul 17, 2024

Use C-u RET to apply formatting, see https://zevlg.github.io/telega.el/#sending-ordinary-messages for details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants