summaryrefslogtreecommitdiffstats
path: root/magic/Magdir/rst
diff options
context:
space:
mode:
Diffstat (limited to '')
-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