[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/adoc-mode db6c51c8e7 128/199: Restructure the README
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/adoc-mode db6c51c8e7 128/199: Restructure the README |
Date: |
Sun, 3 Sep 2023 06:59:40 -0400 (EDT) |
branch: elpa/adoc-mode
commit db6c51c8e7eff66ef6044b5caf054e4378cc6d44
Author: Bozhidar Batsov <bozhidar@batsov.dev>
Commit: Bozhidar Batsov <bozhidar@batsov.dev>
Restructure the README
---
README.md | 82 +++++++++++++++++++++++++++------------------------------------
1 file changed, 35 insertions(+), 47 deletions(-)
diff --git a/README.md b/README.md
index 26739f7690..b5185065a4 100644
--- a/README.md
+++ b/README.md
@@ -1,70 +1,47 @@
+[![MELPA][melpa-badge]][melpa-package]
+[![MELPA Stable][melpa-stable-badge]][melpa-stable-package]
+
# adoc-mode
+
## Introduction
-[AsciiDoc](http://www.methods.co.nz/asciidoc/) is a text document format for
+[AsciiDoc](https://asciidoc.org/) is a text document format for
writing short documents, articles, books and UNIX man pages. AsciiDoc files
can be translated to HTML and DocBook markups.
-adoc-mode is an Emacs major mode for editing AsciiDoc files. It emphasizes on
+`adoc-mode` is an Emacs major mode for editing AsciiDoc files. It emphasizes on
the idea that the document is highlighted so it pretty much looks like the
final output. What must be bold is bold, what must be italic is italic etc.
Meta characters are naturally still visible, but in a faint way, so they can
be easily ignored.
-
-## Download
-
-The raw file (adoc-mode.el) can be found
-[here](https://raw.github.com/emacsorphanage/adoc-mode/master/adoc-mode.el).
-Optionally you can get the sources from the [git
-repository](https://github.com/emacsorphanage/adoc-mode).
-
-You will also need to download the library
-[markup-faces](https://github.com/sensorflo/markup-faces). If you install
-adoc-mode via Emacs Lisp Packages, see below, markup-faces is installed
-automatically if you don't have it yet.
-
-
## Installation
-Installation is as usual, so if you are proficient with Emacs you don't need
-to read this.
-
-### Install the traditional way
-
-1. Copy the file adoc-mode.el to a directory in your load-path, e.g.
- \~/.emacs.d. To add a specific directory to the load path, add this to our
- initialization file (probably ~/.emacs): `(add-to-list 'load-path
- "mypath")`
+`adoc-mode` is available on the community-maintained
+[MELPA Stable][] and [MELPA][] repos.
-2. Add either of the two following lines to your initialization file. The
- first only loads adoc mode when necessary, the 2nd always during startup
- of Emacs.
+NonGNU ELPA and MELPA Stable are recommended as they have the latest stable
version.
+MELPA has a development snapshot for users who don't mind breakage but
+don't want to run `adoc-mode` from a git checkout.
- * `(autoload 'adoc-mode "adoc-mode" nil t)`
+You can install `adoc-mode` using the following command:
- * `(require 'adoc-mode)`
+<kbd>M-x package-install [RET] adoc-mode [RET]</kbd>
-3. Optionally byte compile adoc-mode.el for faster startup: `M-x
- byte-compile`
+or if you'd rather keep it in your Emacs config:
-4. To use adoc mode, call adoc-mode after you opened an AsciiDoc file: `M-x
- adoc-mode`
+```emacs-lisp
+(unless (package-installed-p 'adoc-mode)
+ (package-refresh-contents)
+ (package-install 'adoc-mode))
+```
+If the installation doesn't work try refreshing the package list:
-### Install via Emacs Lisp Packages (on Marmalade)
+<kbd>M-x package-refresh-contents</kbd>
-For this way you either need packages.el from
-[here](https://github.com/technomancy/package.el) and or Emacs 24, where the
-packages library is already included. adoc-mode is on the
-[Marmalade](http://marmalade-repo.org/) package archive.
-* Type `M-x package-install RET adoc-mode RET`.
-
-
-### Possible steps after installation
-
-Each of the following is optional
+## Configuration
* According to an old AsciiDoc manual, .txt is the standard file extension of
AsciiDoc files. Add the following to your initialization file to open all
@@ -93,7 +70,6 @@ Each of the following is optional
- support for outline (however only with the one-line title style)
-
### Coming features
The next features I plan to implement
@@ -102,10 +78,22 @@ The next features I plan to implement
- Outline support also for two line titles
- Correctly highlighting backslash escapes
-
## Screenshot
The highlighting emphasizes on how the output will look like. _All_
characters are visible, however meta characters are displayed in a faint way.
![screenshot](http://dl.dropbox.com/u/75789984/adoc-mode.png)
+
+## License
+
+Copyright © 2010-2013 Florian Kaufmann
+
+Distributed under the GNU General Public License; type <kbd>C-h C-c</kbd> to
view it.
+
+[melpa-badge]: http://melpa.org/packages/adoc-mode-badge.svg
+[melpa-stable-badge]: http://stable.melpa.org/packages/adoc-mode-badge.svg
+[melpa-package]: http://melpa.org/#/adoc-mode
+[melpa-stable-package]: http://stable.melpa.org/#/adoc-mode
+[melpa]: http://melpa.org
+[melpa stable]: http://stable.melpa.org
- [nongnu] elpa/adoc-mode 92da496f3d 151/199: Tweak the test command, (continued)
- [nongnu] elpa/adoc-mode 92da496f3d 151/199: Tweak the test command, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode e6b8e69843 090/199: bugfix: empty AsciiDoc attributes (e.g. [, ]) caused adoc-mode to enter infinite loop, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 976794ddc2 171/199: Update the changelog, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode cd2da9591a 172/199: Fix function name, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 07ac0c12d3 176/199: Tweak the README, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 65794ce2da 188/199: Addresses #33. Reduce formatting lag by `adoc-kwf-search`, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 9e1ea49b09 196/199: Listing blocks and literal blocks can have source style., ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 0348f96d72 101/199: local refactoring in field of attribute list, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 576d724330 114/199: 'caption' of http/... inline macros can now contain commas, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 2682662c96 118/199: Use mode-* to set var require-final-newline, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode db6c51c8e7 128/199: Restructure the README,
ELPA Syncer <=
- [nongnu] elpa/adoc-mode 46e8ea4126 129/199: Add Eldev and a GHA workflow based on it, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 7fdddd54f7 132/199: Require Emacs 26, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode bded623e3d 139/199: [Fix #8] Add a changelog, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 00c59c8d95 145/199: [Fix #7] Convert readme to AsciiDoc (#10), ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 893daa395c 152/199: Move the syntax-table out of the mode definition, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 2c4847d843 160/199: Tweak a couple of docstrings, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode c3d738dd7d 169/199: Fix a typo, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 109bdc5d13 180/199: Fix a typo and some whitespace issues, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 9e7af55e7e 183/199: Fix a typo, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode b0702bdeb8 187/199: [Fix #33] Address noticeable lag when typing in larger code blocks (#35), ELPA Syncer, 2023/09/03