summaryrefslogtreecommitdiffstats
path: root/magic/Magdir/rst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:00:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:00:10 +0000
commit1ebbd027274333758fc3517685d81847601db676 (patch)
tree5259d053d3e3066e0745150805fa4b20184eef98 /magic/Magdir/rst
parentInitial commit. (diff)
downloadfile-1ebbd027274333758fc3517685d81847601db676.tar.xz
file-1ebbd027274333758fc3517685d81847601db676.zip
Adding upstream version 1:5.45.upstream/1%5.45upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'magic/Magdir/rst')
-rw-r--r--magic/Magdir/rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/magic/Magdir/rst b/magic/Magdir/rst
new file mode 100644
index 0000000..0df15b8
--- /dev/null
+++ b/magic/Magdir/rst
@@ -0,0 +1,13 @@
+
+#------------------------------------------------------------------------------
+# $File: rst,v 1.4 2023/07/27 18:26:32 christos Exp $
+# rst: ReStructuredText http://docutils.sourceforge.net/rst.html
+0 search/256 \=\=
+!:strength + 30
+>&0 regex/256 \^[\=]+$
+>>&0 search/512 :Author: ReStructuredText file
+>>&0 search/512 \012Authors: ReStructuredText file
+>>&0 search/512 \012Author: ReStructuredText file
+>>&0 default x
+>>>&0 regex/512 \^\\.\\.[A-Za-z] ReStructuredText file
+!:ext rst