aboutsummaryrefslogtreecommitdiff
path: root/editor/example.html
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2021-07-27 00:41:07 +0700
committerShulhan <ms@kilabit.info>2021-07-27 00:41:07 +0700
commit5e9c13bbd3e3f5748cee1294cb8e9831c5aa0ea7 (patch)
treec538649c27a1d8d8dbc0a0f9da6fc249c2bd093e /editor/example.html
parent368f58ff4b70d17b1bfc7bc5ced80efc48d0d293 (diff)
downloadpakakeh.ts-5e9c13bbd3e3f5748cee1294cb8e9831c5aa0ea7.tar.xz
editor: fix enter and support for backspace
Enter on middle of line now will cut the text and move the rest text after caret to the next line. Pressing backspace on the beginning of line will merge the line with previous one.
Diffstat (limited to 'editor/example.html')
-rw-r--r--editor/example.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/editor/example.html b/editor/example.html
index 0d232f3..344bd1b 100644
--- a/editor/example.html
+++ b/editor/example.html
@@ -48,14 +48,14 @@ sudo systemctl status stackdriver-collectd
##---- Connect telegraf with collectd
-{{.Val "influxdb::dir"}}/bin/influx bucket create \
- --name stackdriver_collectd \
- --description "stackdriver collectd" \
- --org {{.Val "influxdb::org"}} \
- --token {{.Val "influxdb:telegraf:token"}} \
+{{.Val "influxdb::dir"}}/bin/influx bucket create \\
+ --name stackdriver_collectd \\
+ --description "stackdriver collectd" \\
+ --org {{.Val "influxdb::org"}} \\
+ --token {{.Val "influxdb:telegraf:token"}} \\
--retention "3d"
-#put: {{.BaseDir}}/_template/etc/telegraf/telegraf.d/stackdriver-collectd.conf \
+#put: {{.BaseDir}}/_template/etc/telegraf/telegraf.d/stackdriver-collectd.conf \\
{{.Val "influxdb::dir"}}/etc/telegraf/telegraf.d/stackdriver-collectd.conf
sudo systemctl restart telegraf