Docbook Editor Configuration: Difference between revisions

mNo edit summary
m fix syntax highlighting errors
 
Line 48: Line 48:
First off, the feature set for XML and Docbook editing is the same in both versions. Here's a neat one-liner to start the Community edition
First off, the feature set for XML and Docbook editing is the same in both versions. Here's a neat one-liner to start the Community edition


<syntaxhighlight lang="commands">
<syntaxhighlight lang="console">
nix-shell -p jetbrains.idea-community --run idea-community
nix-shell -p jetbrains.idea-community --run idea-community
</syntaxhighlight>
</syntaxhighlight>
Line 61: Line 61:
xsd files. The symlink can be updated instead of having to change the full store path in the editor. The second command will print the full path to the docbook xsd.
xsd files. The symlink can be updated instead of having to change the full store path in the editor. The second command will print the full path to the docbook xsd.


<syntaxhighlight lang="commands">
<syntaxhighlight lang="console">
nix-build -A docbook5 --out-link docbook
$ nix-build -A docbook5 --out-link docbook
echo $PWD/docbook/share/xml/docbook-5.0/xsd/docbook.xsd
$ echo $PWD/docbook/share/xml/docbook-5.0/xsd/docbook.xsd
</syntaxhighlight>
</syntaxhighlight>