diff --git a/content/test.md b/content/test.md index b0a9fbdf..6d52825f 100644 --- a/content/test.md +++ b/content/test.md @@ -179,13 +179,15 @@ Inline `code` has `back-ticks around` it. Blocks of code are either fenced by lines with three back-ticks, or are indented with four spaces. I recommend only using the fenced code blocks -- they're easier and only they support syntax highlighting.
```js
-var s = "JavaScript syntax highlighting";
-alert(s);
+...
```
```python
-s = "Python syntax highlighting"
-print s
+...
+```
+
+```java
+...
```
```
@@ -194,14 +196,42 @@ But let's throw in a <b>tag</b>.
```
-```javascript
-var s = "JavaScript syntax highlighting";
-alert(s);
+```js
+const { Ocean, Logger } = require('@oceanprotocol/squid');
+
+(async () => {
+ const ocean = await Ocean.getInstance({
+ nodeUri: 'http://localhost:8545'
+ })
+
+ const accounts = await ocean.getAccounts()
+
+ Logger.log(JSON.stringify(accounts, null, 2))
+})()
```
```python
-s = "Python syntax highlighting"
-print s
+from squid_py.ocean_contracts import OceanContractsWrapper
+
+ocean = OceanContractsWrapper(host='http://localhost', port=8545, config_path='config.ini')
+
+ocean.init_contracts()
+```
+
+```java
+package com.oceanprotocol.squid.core;
+
+import com.oceanprotocol.squid.models.AbstractModel;
+
+import java.io.IOException;
+
+public interface FromJsonToModel {
+
+ static AbstractModel convertToModel(String json) throws IOException {
+ throw new UnsupportedOperationException();
+ };
+
+}
```
```
diff --git a/src/components/HeaderHome.module.scss b/src/components/HeaderHome.module.scss
index 3ece04d6..5a6d4870 100644
--- a/src/components/HeaderHome.module.scss
+++ b/src/components/HeaderHome.module.scss
@@ -18,7 +18,7 @@
.headerLogo,
.headerTitle,
.headerDescription {
- animation: fadeInUp .8s ease-out backwards;
+ animation: fadeInUp .8s backwards;
}
.headerLogo {
diff --git a/src/pages/index.module.scss b/src/pages/index.module.scss
index f14c7f2f..3d18505a 100644
--- a/src/pages/index.module.scss
+++ b/src/pages/index.module.scss
@@ -15,7 +15,7 @@
.section {
margin-top: $spacer;
- animation: fadeInUp .8s ease-out backwards;
+ animation: fadeInUp .8s backwards;
&:before { display: none; }