Skip to content

Commit 7ba1277

Browse files
committed
fix: guide/editor guide/syntax
1 parent 2458a06 commit 7ba1277

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

guide/editors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@
4444

4545
## Prettier Plugin
4646

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).

guide/syntax.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -444,36 +444,28 @@ layout: two-cols
444444
<<< @/snippets/snippet.js
445445
```
446446

447-
<<<<<<< HEAD
448-
::: tip
449-
Η τιμή του `@` αντιστοιχεί στο root της πηγής, τον κατάλογο όπου βρίσκεται το αρχείο `slides.md`.
450-
:::
451-
452-
Αυτή η λειτουργία προσφέρεται από το VitePress, μάθετε περισσότερα γι' αυτό στην [ιστοσελίδα του VitePress](https://vitepress.dev/guide/markdown#import-code-snippets).
453-
=======
454447
:::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.
456449
:::
457450

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) για να συμπεριλάβετε μόνο το αντίστοιχο τμήμα του αρχείου κώδικα:
459452

460453
```md
461454
<<< @/snippets/snippet.js#region-name
462455
```
463456

464-
To explicitly specify the language of the imported code, you can add a language identifier after:
457+
Για να καθορίσετε ρητά τη γλώσσα του εισαγόμενου κώδικα, μπορείτε να προσθέσετε ένα αναγνωριστικό γλώσσας μετά:
465458

466459
```md
467460
<<< @/snippets/snippet.js ts
468461
```
469462

470-
Any code block features like [line highlighting](#line-highlighting) and [Monaco editor](#monaco-editor) are also supported:
463+
Υποστηρίζονται επίσης οποιεσδήποτε λειτουργίες μπλοκ κώδικα όπως [επισήμανση γραμμής](#επισημανση-γραμμης) και [Monaco editor](#monaco-editor):
471464

472465
```md
473466
<<< @/snippets/snippet.js {2,3|5}{lines:true}
474467
<<< @/snippets/snippet.js ts {monaco}{height:200px}
475468
```
476-
>>>>>>> 55df176a16c5693491d5823c68f1af798e1f718f
477469

478470
## Ρυθμίσεις
479471

0 commit comments

Comments
 (0)