Skip to content

Commit 866c0e5

Browse files
author
Farzad Hayatbakhsh
committed
DOC-1928: Fix advcode options level offset
1 parent 8eb78a3 commit 866c0e5

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

modules/ROOT/pages/advcode.adoc

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@
1010
include::partial$misc/admon-premium-plugin.adoc[]
1111

1212
[TIP]
13-
As of {productname} 7.0, the Advanced Code Editor plugin has been renamed to {pluginname}. When adding {pluginname} in your editor, continue to use {plugincode}.
13+
====
14+
As of {productname} 7.0, the Advanced Code Editor plugin has been renamed to {pluginname}. When adding {pluginname} in your editor, continue to use `{plugincode}`.
15+
====
1416

15-
The xref:advcode.adoc[Enhanced Code Editor] plugin (`+advcode+`) brings a more advanced code editor to {productname}. This code editor makes it easier to modify the HTML, and is a useful add-on for power users. It comes with features often found in IDEs, all enabled by default:
17+
The {pluginname} plugin (`{plugincode}`) brings a more advanced code editor to {productname}. This code editor makes it easier to modify the HTML, and is a useful add-on for power users. It comes with features often found in IDEs, all enabled by default:
1618

1719
* Syntax color highlighting.
1820
* Bracket matching.
@@ -23,7 +25,10 @@ The xref:advcode.adoc[Enhanced Code Editor] plugin (`+advcode+`) brings a more a
2325
* Increase and decrease display font size buttons.
2426
* Full-screen mode button.
2527
26-
NOTE: For the {pluginname} to offer a full-screen mode requires the xref:fullscreen.adoc[Full screen] plugin and requires {pluginname} to be running in xref:advcode.adoc#advcode_inline[inline mode].
28+
[NOTE]
29+
====
30+
For the {pluginname} to offer a full-screen mode requires the xref:fullscreen.adoc[Full screen] plugin and requires {pluginname} to be running in `xref:advcode.adoc#advcode_inline[advcode_inline]` mode.
31+
====
2732

2833
== The difference between the Code and Enhanced Code Editor plugins
2934

@@ -58,7 +63,11 @@ tinymce.init({
5863

5964
include::partial$misc/code-dialog-and-selection-state.adoc[]
6065

61-
include::partial$configuration/advcode.adoc[]
66+
== Options
67+
68+
The following configuration options affect the behavior of the {pluginname} plugin.
69+
70+
include::partial$configuration/advcode.adoc[leveloffset=+1]
6271

6372
include::partial$misc/advcode-shortcuts.adoc[]
6473

0 commit comments

Comments
 (0)