mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Add new attribute documentation for Textfile
This commit is contained in:
parent
6d8b20c785
commit
31bf15239f
@ -29,6 +29,8 @@ wtf/textfile/
|
|||||||
textfile:
|
textfile:
|
||||||
enabled: true
|
enabled: true
|
||||||
filePath: "~/Desktop/notes.md"
|
filePath: "~/Desktop/notes.md"
|
||||||
|
format: true
|
||||||
|
formatStyle: "dracula"
|
||||||
position:
|
position:
|
||||||
top: 5
|
top: 5
|
||||||
left: 4
|
left: 4
|
||||||
@ -46,6 +48,17 @@ Values: `true`, `false`.
|
|||||||
`filePath` <br />
|
`filePath` <br />
|
||||||
The path to the file to be displayed in the widget. <br />
|
The path to the file to be displayed in the widget. <br />
|
||||||
|
|
||||||
|
`format` <br />
|
||||||
|
Whether or not to try and format and syntax highlight the displayedtext. <br />
|
||||||
|
Values: `true`, `false`. <br />
|
||||||
|
Default: `false`.
|
||||||
|
|
||||||
|
`formatStyle` <br />
|
||||||
|
The style of syntax highlighting to format the text with. <br />
|
||||||
|
Values: See [Chroma styles](https://github.com/alecthomas/chroma/tree/master/styles) for all
|
||||||
|
valid options. <br />
|
||||||
|
Default: `vim`.
|
||||||
|
|
||||||
`position` <br />
|
`position` <br />
|
||||||
Defines where in the grid this module's widget will be displayed. <br />
|
Defines where in the grid this module's widget will be displayed. <br />
|
||||||
|
|
||||||
|
@ -141,6 +141,35 @@
|
|||||||
CmdRunner
|
CmdRunner
|
||||||
</a><i class="fa fa-circle-thin read-icon"></i>
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
</div>
|
</div>
|
||||||
|
</li>
|
||||||
|
<li data-nav-id="/modules/cryptocurrencies/" class="dd-item haschildren
|
||||||
|
">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/cryptocurrencies/">Crypo Currencies</a><i class="fa fa-angle-right fa-lg category-icon"></i><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
<ul>
|
||||||
|
<li data-nav-id="/modules/cryptocurrencies/bittrex/" class="dd-item">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/cryptocurrencies/bittrex/">
|
||||||
|
Bittrex
|
||||||
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li data-nav-id="/modules/cryptocurrencies/blockfolio/" class="dd-item">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/cryptocurrencies/blockfolio/">
|
||||||
|
Blockfolio
|
||||||
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li data-nav-id="/modules/cryptocurrencies/cryptolive/" class="dd-item">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/cryptocurrencies/cryptolive/">
|
||||||
|
CryptoLive
|
||||||
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li data-nav-id="/modules/gerrit/" class="dd-item">
|
<li data-nav-id="/modules/gerrit/" class="dd-item">
|
||||||
<div>
|
<div>
|
||||||
@ -176,6 +205,28 @@
|
|||||||
Gitter
|
Gitter
|
||||||
</a><i class="fa fa-circle-thin read-icon"></i>
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
</div>
|
</div>
|
||||||
|
</li>
|
||||||
|
<li data-nav-id="/modules/google/" class="dd-item haschildren
|
||||||
|
">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/google/">Google Apps</a><i class="fa fa-angle-right fa-lg category-icon"></i><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
<ul>
|
||||||
|
<li data-nav-id="/modules/google/gcal/" class="dd-item">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/google/gcal/">
|
||||||
|
Google Calendar
|
||||||
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li data-nav-id="/modules/google/gspreadsheet/" class="dd-item">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/google/gspreadsheet/">
|
||||||
|
Google Spreadsheets
|
||||||
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li data-nav-id="/modules/hackernews/" class="dd-item">
|
<li data-nav-id="/modules/hackernews/" class="dd-item">
|
||||||
<div>
|
<div>
|
||||||
@ -183,6 +234,28 @@
|
|||||||
Hacker News
|
Hacker News
|
||||||
</a><i class="fa fa-circle-thin read-icon"></i>
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
</div>
|
</div>
|
||||||
|
</li>
|
||||||
|
<li data-nav-id="/modules/ipaddress/" class="dd-item haschildren
|
||||||
|
">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/ipaddress/">IP Addresses</a><i class="fa fa-angle-right fa-lg category-icon"></i><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
<ul>
|
||||||
|
<li data-nav-id="/modules/ipaddress/ipapi/" class="dd-item">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/ipaddress/ipapi/">
|
||||||
|
IP-API
|
||||||
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li data-nav-id="/modules/ipaddress/ipinfo/" class="dd-item">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/ipaddress/ipinfo/">
|
||||||
|
IPInfo
|
||||||
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li data-nav-id="/modules/jenkins/" class="dd-item">
|
<li data-nav-id="/modules/jenkins/" class="dd-item">
|
||||||
<div>
|
<div>
|
||||||
@ -274,6 +347,28 @@
|
|||||||
Twitter
|
Twitter
|
||||||
</a><i class="fa fa-circle-thin read-icon"></i>
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
</div>
|
</div>
|
||||||
|
</li>
|
||||||
|
<li data-nav-id="/modules/weather_services/" class="dd-item haschildren
|
||||||
|
">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/weather_services/">Weather Services</a><i class="fa fa-angle-right fa-lg category-icon"></i><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
<ul>
|
||||||
|
<li data-nav-id="/modules/weather_services/prettyweather/" class="dd-item">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/weather_services/prettyweather/">
|
||||||
|
Pretty Weather
|
||||||
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li data-nav-id="/modules/weather_services/weather/" class="dd-item">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/weather_services/weather/">
|
||||||
|
Weather
|
||||||
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li data-nav-id="/modules/zendesk/" class="dd-item">
|
<li data-nav-id="/modules/zendesk/" class="dd-item">
|
||||||
<div>
|
<div>
|
||||||
|
@ -141,6 +141,35 @@
|
|||||||
CmdRunner
|
CmdRunner
|
||||||
</a><i class="fa fa-circle-thin read-icon"></i>
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
</div>
|
</div>
|
||||||
|
</li>
|
||||||
|
<li data-nav-id="/modules/cryptocurrencies/" class="dd-item haschildren
|
||||||
|
">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/cryptocurrencies/">Crypo Currencies</a><i class="fa fa-angle-right fa-lg category-icon"></i><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
<ul>
|
||||||
|
<li data-nav-id="/modules/cryptocurrencies/bittrex/" class="dd-item">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/cryptocurrencies/bittrex/">
|
||||||
|
Bittrex
|
||||||
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li data-nav-id="/modules/cryptocurrencies/blockfolio/" class="dd-item">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/cryptocurrencies/blockfolio/">
|
||||||
|
Blockfolio
|
||||||
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li data-nav-id="/modules/cryptocurrencies/cryptolive/" class="dd-item">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/cryptocurrencies/cryptolive/">
|
||||||
|
CryptoLive
|
||||||
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li data-nav-id="/modules/gerrit/" class="dd-item">
|
<li data-nav-id="/modules/gerrit/" class="dd-item">
|
||||||
<div>
|
<div>
|
||||||
@ -176,6 +205,28 @@
|
|||||||
Gitter
|
Gitter
|
||||||
</a><i class="fa fa-circle-thin read-icon"></i>
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
</div>
|
</div>
|
||||||
|
</li>
|
||||||
|
<li data-nav-id="/modules/google/" class="dd-item haschildren
|
||||||
|
">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/google/">Google Apps</a><i class="fa fa-angle-right fa-lg category-icon"></i><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
<ul>
|
||||||
|
<li data-nav-id="/modules/google/gcal/" class="dd-item">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/google/gcal/">
|
||||||
|
Google Calendar
|
||||||
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li data-nav-id="/modules/google/gspreadsheet/" class="dd-item">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/google/gspreadsheet/">
|
||||||
|
Google Spreadsheets
|
||||||
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li data-nav-id="/modules/hackernews/" class="dd-item">
|
<li data-nav-id="/modules/hackernews/" class="dd-item">
|
||||||
<div>
|
<div>
|
||||||
@ -183,6 +234,28 @@
|
|||||||
Hacker News
|
Hacker News
|
||||||
</a><i class="fa fa-circle-thin read-icon"></i>
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
</div>
|
</div>
|
||||||
|
</li>
|
||||||
|
<li data-nav-id="/modules/ipaddress/" class="dd-item haschildren
|
||||||
|
">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/ipaddress/">IP Addresses</a><i class="fa fa-angle-right fa-lg category-icon"></i><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
<ul>
|
||||||
|
<li data-nav-id="/modules/ipaddress/ipapi/" class="dd-item">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/ipaddress/ipapi/">
|
||||||
|
IP-API
|
||||||
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li data-nav-id="/modules/ipaddress/ipinfo/" class="dd-item">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/ipaddress/ipinfo/">
|
||||||
|
IPInfo
|
||||||
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li data-nav-id="/modules/jenkins/" class="dd-item">
|
<li data-nav-id="/modules/jenkins/" class="dd-item">
|
||||||
<div>
|
<div>
|
||||||
@ -274,6 +347,28 @@
|
|||||||
Twitter
|
Twitter
|
||||||
</a><i class="fa fa-circle-thin read-icon"></i>
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
</div>
|
</div>
|
||||||
|
</li>
|
||||||
|
<li data-nav-id="/modules/weather_services/" class="dd-item haschildren
|
||||||
|
">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/weather_services/">Weather Services</a><i class="fa fa-angle-right fa-lg category-icon"></i><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
<ul>
|
||||||
|
<li data-nav-id="/modules/weather_services/prettyweather/" class="dd-item">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/weather_services/prettyweather/">
|
||||||
|
Pretty Weather
|
||||||
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li data-nav-id="/modules/weather_services/weather/" class="dd-item">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/weather_services/weather/">
|
||||||
|
Weather
|
||||||
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li data-nav-id="/modules/zendesk/" class="dd-item">
|
<li data-nav-id="/modules/zendesk/" class="dd-item">
|
||||||
<div>
|
<div>
|
||||||
|
14
docs/index.html
vendored
14
docs/index.html
vendored
@ -353,6 +353,20 @@
|
|||||||
<a href="/modules/weather_services/">Weather Services</a><i class="fa fa-angle-right fa-lg category-icon"></i><i class="fa fa-circle-thin read-icon"></i>
|
<a href="/modules/weather_services/">Weather Services</a><i class="fa fa-angle-right fa-lg category-icon"></i><i class="fa fa-circle-thin read-icon"></i>
|
||||||
</div>
|
</div>
|
||||||
<ul>
|
<ul>
|
||||||
|
<li data-nav-id="/modules/weather_services/prettyweather/" class="dd-item">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/weather_services/prettyweather/">
|
||||||
|
Pretty Weather
|
||||||
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li data-nav-id="/modules/weather_services/weather/" class="dd-item">
|
||||||
|
<div>
|
||||||
|
<a href="/modules/weather_services/weather/">
|
||||||
|
Weather
|
||||||
|
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li data-nav-id="/modules/zendesk/" class="dd-item">
|
<li data-nav-id="/modules/zendesk/" class="dd-item">
|
||||||
|
2
docs/index.json
vendored
2
docs/index.json
vendored
@ -242,7 +242,7 @@
|
|||||||
"title": "Textfile",
|
"title": "Textfile",
|
||||||
"tags": [],
|
"tags": [],
|
||||||
"description": "",
|
"description": "",
|
||||||
"content": " Displays the contents of the specified text file in the widget.\nSource Code wtf/textfile/ Keyboard Commands Key: / Action: Open/close the widget\u0026rsquo;s help window.\nKey: o Action: Opens the text file in whichever text editor is associated with that file type.\nConfiguration textfile:enabled:truefilePath:\u0026#34;~/Desktop/notes.md\u0026#34;position:top:5left:4height:2width:1refreshInterval:15 Attributes enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.\nfilePath The path to the file to be displayed in the widget. position Defines where in the grid this module\u0026rsquo;s widget will be displayed. refreshInterval How often, in seconds, this module will update its data. Values: A positive integer, 0..n.\n"
|
"content": " Displays the contents of the specified text file in the widget.\nSource Code wtf/textfile/ Keyboard Commands Key: / Action: Open/close the widget\u0026rsquo;s help window.\nKey: o Action: Opens the text file in whichever text editor is associated with that file type.\nConfiguration textfile:enabled:truefilePath:\u0026#34;~/Desktop/notes.md\u0026#34;format:trueformatStyle:\u0026#34;dracula\u0026#34;position:top:5left:4height:2width:1refreshInterval:15 Attributes enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.\nfilePath The path to the file to be displayed in the widget. format Whether or not to try and format and syntax highlight the displayedtext. Values: true, false. Default: false.\nformatStyle The style of syntax highlighting to format the text with. Values: See Chroma styles for all valid options. Default: vim.\nposition Defines where in the grid this module\u0026rsquo;s widget will be displayed. refreshInterval How often, in seconds, this module will update its data. Values: A positive integer, 0..n.\n"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"uri": "https://wtfutil.com/modules/todo/",
|
"uri": "https://wtfutil.com/modules/todo/",
|
||||||
|
2
docs/index.xml
vendored
2
docs/index.xml
vendored
@ -402,7 +402,7 @@ Wifi Network The name of the current network Whether or not the network uses enc
|
|||||||
<description>Displays the contents of the specified text file in the widget.
|
<description>Displays the contents of the specified text file in the widget.
|
||||||
Source Code wtf/textfile/ Keyboard Commands Key: / Action: Open/close the widget&rsquo;s help window.
|
Source Code wtf/textfile/ Keyboard Commands Key: / Action: Open/close the widget&rsquo;s help window.
|
||||||
Key: o Action: Opens the text file in whichever text editor is associated with that file type.
|
Key: o Action: Opens the text file in whichever text editor is associated with that file type.
|
||||||
Configuration textfile:enabled:truefilePath:&#34;~/Desktop/notes.md&#34;position:top:5left:4height:2width:1refreshInterval:15 Attributes enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.
|
Configuration textfile:enabled:truefilePath:&#34;~/Desktop/notes.md&#34;format:trueformatStyle:&#34;dracula&#34;position:top:5left:4height:2width:1refreshInterval:15 Attributes enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.
|
||||||
filePath The path to the file to be displayed in the widget.</description>
|
filePath The path to the file to be displayed in the widget.</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
@ -252,7 +252,7 @@ Wifi Network The name of the current network Whether or not the network uses enc
|
|||||||
<description>Displays the contents of the specified text file in the widget.
|
<description>Displays the contents of the specified text file in the widget.
|
||||||
Source Code wtf/textfile/ Keyboard Commands Key: / Action: Open/close the widget&rsquo;s help window.
|
Source Code wtf/textfile/ Keyboard Commands Key: / Action: Open/close the widget&rsquo;s help window.
|
||||||
Key: o Action: Opens the text file in whichever text editor is associated with that file type.
|
Key: o Action: Opens the text file in whichever text editor is associated with that file type.
|
||||||
Configuration textfile:enabled:truefilePath:&#34;~/Desktop/notes.md&#34;position:top:5left:4height:2width:1refreshInterval:15 Attributes enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.
|
Configuration textfile:enabled:truefilePath:&#34;~/Desktop/notes.md&#34;format:trueformatStyle:&#34;dracula&#34;position:top:5left:4height:2width:1refreshInterval:15 Attributes enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.
|
||||||
filePath The path to the file to be displayed in the widget.</description>
|
filePath The path to the file to be displayed in the widget.</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
@ -482,6 +482,8 @@
|
|||||||
<div class="highlight"><pre class="chroma"><code class="language-yaml" data-lang="yaml">textfile<span class="p">:</span><span class="w">
|
<div class="highlight"><pre class="chroma"><code class="language-yaml" data-lang="yaml">textfile<span class="p">:</span><span class="w">
|
||||||
</span><span class="w"> </span>enabled<span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w">
|
</span><span class="w"> </span>enabled<span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w">
|
||||||
</span><span class="w"> </span>filePath<span class="p">:</span><span class="w"> </span><span class="s2">"~/Desktop/notes.md"</span><span class="w">
|
</span><span class="w"> </span>filePath<span class="p">:</span><span class="w"> </span><span class="s2">"~/Desktop/notes.md"</span><span class="w">
|
||||||
|
</span><span class="w"> </span>format<span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w">
|
||||||
|
</span><span class="w"> </span>formatStyle<span class="p">:</span><span class="w"> </span><span class="s2">"dracula"</span><span class="w">
|
||||||
</span><span class="w"> </span>position<span class="p">:</span><span class="w">
|
</span><span class="w"> </span>position<span class="p">:</span><span class="w">
|
||||||
</span><span class="w"> </span>top<span class="p">:</span><span class="w"> </span><span class="m">5</span><span class="w">
|
</span><span class="w"> </span>top<span class="p">:</span><span class="w"> </span><span class="m">5</span><span class="w">
|
||||||
</span><span class="w"> </span>left<span class="p">:</span><span class="w"> </span><span class="m">4</span><span class="w">
|
</span><span class="w"> </span>left<span class="p">:</span><span class="w"> </span><span class="m">4</span><span class="w">
|
||||||
@ -497,6 +499,17 @@ Values: <code>true</code>, <code>false</code>.</p>
|
|||||||
<p><code>filePath</code> <br />
|
<p><code>filePath</code> <br />
|
||||||
The path to the file to be displayed in the widget. <br /></p>
|
The path to the file to be displayed in the widget. <br /></p>
|
||||||
|
|
||||||
|
<p><code>format</code> <br />
|
||||||
|
Whether or not to try and format and syntax highlight the displayedtext. <br />
|
||||||
|
Values: <code>true</code>, <code>false</code>. <br />
|
||||||
|
Default: <code>false</code>.</p>
|
||||||
|
|
||||||
|
<p><code>formatStyle</code> <br />
|
||||||
|
The style of syntax highlighting to format the text with. <br />
|
||||||
|
Values: See <a href="https://github.com/alecthomas/chroma/tree/master/styles">Chroma styles</a> for all
|
||||||
|
valid options. <br />
|
||||||
|
Default: <code>vim</code>.</p>
|
||||||
|
|
||||||
<p><code>position</code> <br />
|
<p><code>position</code> <br />
|
||||||
Defines where in the grid this module’s widget will be displayed. <br /></p>
|
Defines where in the grid this module’s widget will be displayed. <br /></p>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user