You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: guide/editors.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,4 +44,4 @@
44
44
45
45
## Prettier Plugin
46
46
47
-
Slidev also provides a Prettier plugin to format your slides. You can use it with your favorite editor that supports Prettier. Docs for the plugin can be found [here](https://github.com/slidevjs/prettier-plugin).
47
+
Το Slidev παρέχει επίσης ένα πρόσθετο για το Prettier για τη μορφοποίηση των διαφανειών σας. Μπορείτε να το χρησιμοποιήσετε με τον αγαπημένο σας επεξεργαστή που υποστηρίζει το Prettier. Οδηγίες για το πρόσθετο μπορείτε να βρείτε [εδώ](https://github.com/slidevjs/prettier-plugin).
Copy file name to clipboardExpand all lines: guide/syntax.md
+4-12Lines changed: 4 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -444,36 +444,28 @@ layout: two-cols
444
444
<<< @/snippets/snippet.js
445
445
```
446
446
447
-
<<<<<<< HEAD
448
-
::: tip
449
-
Η τιμή του `@` αντιστοιχεί στο root της πηγής, τον κατάλογο όπου βρίσκεται το αρχείο `slides.md`.
450
-
:::
451
-
452
-
Αυτή η λειτουργία προσφέρεται από το VitePress, μάθετε περισσότερα γι' αυτό στην [ιστοσελίδα του VitePress](https://vitepress.dev/guide/markdown#import-code-snippets).
453
-
=======
454
447
:::tip
455
-
The value of`@`corresponds to your package's root directory. It's recommended to put snippets in`@/snippets`, for compatibility with the Monaco editor. Alternatively, you can also import from relative paths.
448
+
Η τιμή του`@`αντιστοιχεί στο root directory του πακέτου σας. Συνιστάται να τοποθετείτε τα αποσπάσματα στο`@/snippets`, για λόγους συμβατότητας με τον επεξεργαστή Monaco. Εναλλακτικά, μπορείτε επίσης να εισάγετε από relative paths.
456
449
:::
457
450
458
-
You can also use a [VS Code region](https://code.visualstudio.com/docs/editor/codebasics#_folding)to only include the corresponding part of the code file:
451
+
Μπορείτε επίσης να χρησιμοποιήσετε μια [περιοχή VS Code](https://code.visualstudio.com/docs/editor/codebasics#_folding)για να συμπεριλάβετε μόνο το αντίστοιχο τμήμα του αρχείου κώδικα:
459
452
460
453
```md
461
454
<<< @/snippets/snippet.js#region-name
462
455
```
463
456
464
-
To explicitly specify the language of the imported code, you can add a language identifier after:
457
+
Για να καθορίσετε ρητά τη γλώσσα του εισαγόμενου κώδικα, μπορείτε να προσθέσετε ένα αναγνωριστικό γλώσσας μετά:
465
458
466
459
```md
467
460
<<< @/snippets/snippet.js ts
468
461
```
469
462
470
-
Any code block features like [line highlighting](#line-highlighting) and[Monaco editor](#monaco-editor) are also supported:
463
+
Υποστηρίζονται επίσης οποιεσδήποτε λειτουργίες μπλοκ κώδικα όπως [επισήμανση γραμμής](#επισημανση-γραμμης) και[Monaco editor](#monaco-editor):
0 commit comments