Title: Lineate
Author: Johnathon Williams
Published: <strong>2012 年 8 月 19 日</strong>
Last modified: 2012 年 8 月 19 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/lineate.svg)

# Lineate

 作者：[Johnathon Williams](https://profiles.wordpress.org/oddjar/)

[下载](https://downloads.wordpress.org/plugin/lineate.zip)

 * [详情](https://cn.wordpress.org/plugins/lineate/#description)
 * [评价](https://cn.wordpress.org/plugins/lineate/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/lineate/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/lineate/#developers)

 [支持](https://wordpress.org/support/plugin/lineate/)

## 描述

Lineate provides two simple shortcodes for easily formatting poetry in the WordPress
editor.

The first is the stanza shortcode. To indicate a stanza, wrap the appropriate text
the [stanza]…[/stanza] shortcode as follows:

[stanza]
 In Xanadu did Kubla Khan A stately pleasure-dome decree : Where Alph, 
the sacred river, ran Through caverns measureless to man Down to a sunless sea. [/
stanza]

The amount of vertical distance between stanzas can be set on the Lineate settings
page.

The second shortcode is for indicating individual lines within a stanza. To ensure
that each line in the above example was rendered correctly, you would use the [lineate]
shortcode as follows:

[stanza]
 [lineate]In Xanadu did Kubla Khan[/lineate] [lineate]A stately pleasure-
dome decree :[/lineate] [lineate]Where Alph, the sacred river, ran[/lineate] [lineate]
Through caverns measureless to man[/lineate] [lineate]Down to a sunless sea.[/lineate][/
stanza]

A new button is included in the visual editor for automatically wrapping individual
lines in the lineate shortcode. To use the button, hightlight a single line, and
click the button with the line break symbol (a red slash).

The lineate shortcode also supports indented or “dropped” lines, with three levels
of indentation.

The horizontal width of each indent is set through the base indent value on the 
Lineate settings page. The default value is 30 pixels.

To indicate dropped lines, include the indent attribute as follows:

[stanza]
 [lineate]In Xanadu did Kubla Khan[/lineate] [lineate indent=1]A stately
pleasure-dome decree :[/lineate] [lineate indent=2]Where Alph, the sacred river,
ran[/lineate] [lineate indent=3]Through caverns measureless to man[/lineate] [/stanza]

In this example, assuming the base indent was set at 20 pixels, the second line 
in the stanza would be 20 pixels from the left margin, the third line would be 40
pixels from the left margin, and the fourth line would be 60 pixels from the left
margin.

## 屏幕截图

 * [[
 * The Lineate settings page.

## 安装

 1. Upload the plugin folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 常见问题

None.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Lineate」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Johnathon Williams ](https://profiles.wordpress.org/oddjar/)

[帮助将「Lineate」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/lineate)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/lineate/)，查看[SVN仓库](https://plugins.svn.wordpress.org/lineate/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/lineate/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/lineate/)。

## 更新日志

#### 1.0

 * Original release

## 额外信息

 *  版本 **1.0**
 *  最后更新：**14 年前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 3.3 或更高版本 **
 *  已测试的最高版本为 **3.4.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/lineate/)
 * 标签
 * [editor](https://cn.wordpress.org/plugins/tags/editor/)[poetry](https://cn.wordpress.org/plugins/tags/poetry/)
   [shortcodes](https://cn.wordpress.org/plugins/tags/shortcodes/)
 *  [高级视图](https://cn.wordpress.org/plugins/lineate/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/lineate/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/lineate/reviews/)

## 贡献者

 *   [ Johnathon Williams ](https://profiles.wordpress.org/oddjar/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/lineate/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.amazon.com/The-Road-Happiness-Johnathon-Williams/dp/1938308018/)