打包好的livecode,版本v-46
This commit is contained in:
28
docs/features/snippets.html.md
Normal file
28
docs/features/snippets.html.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# Code Snippets
|
||||
|
||||
LiveCodes supports saving and organizing code snippets in different languages.
|
||||
|
||||
Code snippets are saved locally on user's device. However, they are supported in [sync](./sync.html.md), [backup](./backup-restore.html.md)#backup) and [restore](./backup-restore.html.md)#restore).
|
||||
|
||||
Code snippets screen can be accessed from Settings menu → Code Snippets.
|
||||
|
||||

|
||||
|
||||
import RunInLiveCodes from '../../src/components/RunInLiveCodes.tsx';
|
||||
|
||||
<RunInLiveCodes params={{ screen: 'snippets' }} linkText="direct link" />
|
||||
|
||||
Each snippet has a title, description, language and code.
|
||||
|
||||

|
||||
|
||||
After adding snippets they can be sorted (by date modified or title), filtered (by language) or searched.
|
||||
|
||||

|
||||
|
||||
Code snippets can then be copied to clipboard and pasted in projects.
|
||||
|
||||
## Related
|
||||
|
||||
- [Projects](./projects.html.md)
|
||||
- [Assets](./assets.html.md)
|
||||
Reference in New Issue
Block a user