diff options
| author | Aaron S. Hawley | 2019-06-27 13:55:04 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-06-27 13:55:04 +0200 |
| commit | d64c72f50cb5acefb806c53dfc965ff5b22e8ac9 (patch) | |
| tree | 3a24cb3d315439c782a46d9a5fe088a5e3f4c1b5 /doc | |
| parent | 573de396f03684efa89ead24a371b0f4c9bf8d5d (diff) | |
| download | emacs-d64c72f50cb5acefb806c53dfc965ff5b22e8ac9.tar.gz emacs-d64c72f50cb5acefb806c53dfc965ff5b22e8ac9.zip | |
Allow generating wiki and mediawiki tables
* lisp/textmodes/table.el (table--generate-source-prologue)
(table--generate-source-epilogue)
(table--generate-source-scan-rows)
(table--generate-source-cells-in-a-row): Insert the wiki/mediawiki
separators.
* lisp/textmodes/table.el (table-source-languages): Add support
for wiki and mediawiki tables (bug#13287).
2019-06-27 Lars Ingebrigtsen <larsi@gnus.org>
* doc/emacs/text.texi (Table Misc): Mention the new wiki and
mediawiki formats.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/text.texi | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi index 59423feeeae..ffebf39f331 100644 --- a/doc/emacs/text.texi +++ b/doc/emacs/text.texi | |||
| @@ -2851,11 +2851,12 @@ cell interval, and the justification of the text in each cell. | |||
| 2851 | @findex table-generate-source | 2851 | @findex table-generate-source |
| 2852 | @kbd{M-x table-generate-source} generates a table formatted for a | 2852 | @kbd{M-x table-generate-source} generates a table formatted for a |
| 2853 | specific markup language. It asks for a language (which must be one | 2853 | specific markup language. It asks for a language (which must be one |
| 2854 | of @code{html}, @code{latex}, or @code{cals}), a destination buffer in | 2854 | of @code{html}, @code{latex}, @code{cals}, @code{wiki} or |
| 2855 | which to put the result, and a table caption, and then inserts the | 2855 | @code{mediawiki}), a destination buffer in which to put the result, |
| 2856 | generated table into the specified buffer. The default destination | 2856 | and a table caption, and then inserts the generated table into the |
| 2857 | buffer is @code{table.@var{lang}}, where @var{lang} is the language | 2857 | specified buffer. The default destination buffer is |
| 2858 | you specified. | 2858 | @code{table.@var{lang}}, where @var{lang} is the language you |
| 2859 | specified. | ||
| 2859 | 2860 | ||
| 2860 | @node Two-Column | 2861 | @node Two-Column |
| 2861 | @section Two-Column Editing | 2862 | @section Two-Column Editing |