[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/adoc-mode 1cbd1297be 137/199: Restructure the README a bit
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/adoc-mode 1cbd1297be 137/199: Restructure the README a bit |
Date: |
Sun, 3 Sep 2023 06:59:41 -0400 (EDT) |
branch: elpa/adoc-mode
commit 1cbd1297be03925ec4afeecf91cf0f4e57c23c4f
Author: Bozhidar Batsov <bozhidar@batsov.dev>
Commit: Bozhidar Batsov <bozhidar@batsov.dev>
Restructure the README a bit
---
README.md | 65 +++++++++++++++++++++++++++++++--------------------------------
1 file changed, 32 insertions(+), 33 deletions(-)
diff --git a/README.md b/README.md
index db478dcc2a..5b38ce57ec 100644
--- a/README.md
+++ b/README.md
@@ -17,12 +17,30 @@ 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.
+## Features
+
+Here are some of the main features of `adoc-mode`:
+
+- sophisticated highlighting
+- promote / demote title
+- toggle title type between one line title and two line title
+- adjust underline length of a two line title to match title text's length
+- goto anchor defining a given id, default reading from xref at point
+- support for outline (however only with the one-line title style)
+
+### Demo
+
+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)
+
## Installation
`adoc-mode` is available on the community-maintained
[MELPA Stable][] and [MELPA][] repos.
-NonGNU ELPA and MELPA Stable are recommended as they have the latest stable
version.
+Using MELPA Stable is recommended as it has 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.
@@ -30,48 +48,36 @@ You can install `adoc-mode` using the following command:
<kbd>M-x package-install [RET] adoc-mode [RET]</kbd>
-or if you'd rather keep it in your Emacs config:
+If the installation doesn't work try refreshing the package list:
+
+<kbd>M-x package-refresh-contents</kbd>
+
+Alternative, you can add something like this to your Emacs config:
```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:
-
-<kbd>M-x package-refresh-contents</kbd>
+;; or if you're into use-package
+(use-package adoc-mode
+ :ensure t)
+```
## Configuration
-* According to an old AsciiDoc manual, .txt is the standard file extension of
+* 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
- .txt files with adoc-mode as major mode automatically: `(add-to-list
+ `.txt` files with adoc-mode as major mode automatically: `(add-to-list
'auto-mode-alist (cons "\\.txt\\'" 'adoc-mode))`.
More recent conventions for AsciiDoc file extensions include `.adoc` and
- `.asciidoc`, these are associated automatically.
+ `.asciidoc`, these are associated with `adoc-mode` automatically.
* If your default face is a fixed pitch (monospace) face, but in AsciiDoc
files you liked to have normal text with a variable pitch face,
- buffer-face-mode is for you: `(add-hook 'adoc-mode-hook (lambda()
+ `buffer-face-mode` is for you: `(add-hook 'adoc-mode-hook (lambda()
(buffer-face-mode t)))`
-
-## Features
-
-- sophisticated highlighting
-
-- promote / demote title
-
-- toggle title type between one line title and two line title
-
-- adjust underline length of a two line title to match title text's length
-
-- goto anchor defining a given id, default reading from xref at point
-
-- support for outline (however only with the one-line title style)
-
### Coming features
The next features I plan to implement
@@ -80,13 +86,6 @@ 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)
-
## Hacking
adoc-mode uses [Eldev](https://github.com/doublep/eldev) for development, so
- [nongnu] elpa/adoc-mode 21bb167f67 108/199: improved comments and whites, (continued)
- [nongnu] elpa/adoc-mode 21bb167f67 108/199: improved comments and whites, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 8f8a1ef307 111/199: bumped version to 0.6.5, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode c117d58b4b 119/199: Merge pull request #1 from lukesanantonio/master, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 7ec9c3569d 134/199: Make TODO notes stand out, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 296df94325 135/199: Fix a bunch of typos, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 99917e0bdd 069/199: adoc-re-inline-macro can now be told to match only an empty attribute list, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode a976f1ac84 085/199: edited commentary section, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 7aa44fea5b 089/199: in menu, unicode chars for (R) and (TM) were interchanged, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 0ea3de138a 091/199: refactored adoc-kwf-attriblist, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 9bea822e07 136/199: Add license badge, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 1cbd1297be 137/199: Restructure the README a bit,
ELPA Syncer <=
- [nongnu] elpa/adoc-mode b2d2bcb2cd 138/199: Really kill all the tabs, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 17fab9724a 143/199: Fix duplicated test names, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode e0d08ee6d2 144/199: Delete obsolete Cask file, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 43eda399d3 148/199: Tweak the package description, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 468fdc0fd9 149/199: Update some package metadata, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 86c2735a58 150/199: Update the copyright, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 888a38beb2 154/199: Bundle the mode's menu definition with the mode's keymap, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 506e015e11 159/199: [#9] Disable broken tests, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode c28cf7a8cc 158/199: Fix whitespace and indentation, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode c9a4715d2f 175/199: Add section about face customization to README.adoc, ELPA Syncer, 2023/09/03