File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -1706,18 +1706,18 @@ A library for accessing the filesystem. This library only works when Eve is run
1706
1706
<td>
1707
1707
<code>
1708
1708
Read a file
1709
- ```
1709
+ ~~~
1710
1710
commit
1711
1711
[ #file/read #my-file path: "test-file.txt"]
1712
- ```
1712
+ ~~~
1713
1713
1714
1714
Display the contents of the file
1715
- ```
1715
+ ~~~
1716
1716
search
1717
1717
[ #my-file contents]
1718
1718
commit
1719
1719
[ #console/log text: contents]
1720
- ```
1720
+ ~~~
1721
1721
</code>
1722
1722
</td>
1723
1723
</tr>
@@ -1742,10 +1742,10 @@ commit
1742
1742
</td>
1743
1743
<td>
1744
1744
<code>
1745
- ```
1745
+ ~~~
1746
1746
commit
1747
1747
[ #file/write path: "test-file.txt" contents: "This will be in the file"]
1748
- ```
1748
+ ~~~
1749
1749
</code>
1750
1750
</td>
1751
1751
</tr>
@@ -1767,12 +1767,12 @@ commit
1767
1767
</td>
1768
1768
<td>
1769
1769
<code>
1770
- ```
1770
+ ~~~
1771
1771
search
1772
1772
[ #file/read path error: [ code: "ENOENT"]]
1773
1773
commit
1774
1774
[ #console/error text: "Could not file file {{path}}"]
1775
- ```
1775
+ ~~~
1776
1776
</code>
1777
1777
</td>
1778
1778
</tr>
@@ -1797,10 +1797,10 @@ Write text to the console
1797
1797
</td>
1798
1798
<td>
1799
1799
<code>
1800
- ```
1800
+ ~~~
1801
1801
commit
1802
1802
[ #console/log text: "Hello world!"]
1803
- ```
1803
+ ~~~
1804
1804
</code>
1805
1805
</td>
1806
1806
</tr>
@@ -1821,10 +1821,10 @@ commit
1821
1821
</td>
1822
1822
<td>
1823
1823
<code>
1824
- ```
1824
+ ~~~
1825
1825
commit
1826
1826
[ #console/warn text: "Memory is running low."]
1827
- ```
1827
+ ~~~
1828
1828
</code>
1829
1829
</td>
1830
1830
</tr>
@@ -1845,10 +1845,10 @@ commit
1845
1845
</td>
1846
1846
<td>
1847
1847
<code>
1848
- ```
1848
+ ~~~
1849
1849
commit
1850
1850
[ #console/error text: "Access is Denied"]
1851
- ```
1851
+ ~~~
1852
1852
</code>
1853
1853
</td>
1854
1854
</tr>
You can’t perform that action at this time.
0 commit comments