Skip to content

Commit

Permalink
add warning to custom css/js docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sprocketc committed Jun 29, 2023
1 parent e027bfd commit ecc8c61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pages/custom.css.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ type:: [[Feature]]
platforms:: [[All Platforms]]
description:: Local config file, logseq/custom.css, loads custom css for a graph on startup

- ## Usage
- > **Please use this feature with caution.** Introducing custom css rules might result in unexpected behavior. You are responsible for the implementation and the maintenance of the code. Avoid pasting css code that you don't fully understand, for security and stability reasons.
- ## Functionality
- Define a `logseq/custom.css` file in order to have any custom css load
- ## Additional Links
Expand Down
1 change: 1 addition & 0 deletions pages/custom.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ description:: Local config file, logseq/custom.js, loads custom js for a graph o

- ## Usage
- First time you load a custom.js file, you are prompted to confirm you want to load it.
- > **Please use this feature with caution.** Introducing custom javascript might result in unexpected behavior. You are responsible for the implementation and the maintenance of the code. Avoid pasting javascript code that you don't fully understand, for security and stability reasons.
- ## Functionality
- Define a `logseq/custom.js` to have any custom js load

0 comments on commit ecc8c61

Please sign in to comment.