이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

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

FAQ

None.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Lineate”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Lineate”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.0

  • Original release