mirror of
https://github.com/velocitatem/garlic.git
synced 2026-05-31 08:43:36 +00:00
he attak
This commit is contained in:
13
README.md
13
README.md
@@ -10,18 +10,25 @@ You write your code and text as you would any other day, just let garlic protect
|
||||
| POV | Result |
|
||||
|--------------|---------------------------------------|
|
||||
| You Write | `<p>This is a test piece of text</p>` |
|
||||
| Scraper Sees |  |
|
||||
| User Sees |  |
|
||||
| Scraper Sees |  |
|
||||
| User Sees |  |
|
||||
|
||||
# How?
|
||||
Currently, this is in development, but the beta works like this:
|
||||
|
||||
## React
|
||||
|
||||
Install the packages with `npm i garlic-react`, you should then import the `Garlic` class with:
|
||||
|
||||
```js
|
||||
import Garlic from 'garlic';
|
||||
```
|
||||
|
||||
You just need to wrap your html in the `garlic()` method:
|
||||
|
||||
```js
|
||||
function App() {
|
||||
return garlic(
|
||||
return Garlic.clove(
|
||||
<div className="App">
|
||||
<p>Go away robots :)</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user