124 |
Creating a new article for this site is as simple as creating a new text |
Creating a new article for this site is as simple as creating a new text |
125 |
file and adding following text: |
file and adding following text: |
126 |
</p> |
</p> |
127 |
<code l="html"> |
<code lang="html"> |
128 |
<h1>My First Article</h1> |
<h1>My First Article</h1> |
129 |
<p> |
<p> |
130 |
This is the first paragraph. |
This is the first paragraph. |
297 |
somewhere in your article a headline called "Conclusion of Topic", then |
somewhere in your article a headline called "Conclusion of Topic", then |
298 |
this particular paragraph of your article may be directly linked to from |
this particular paragraph of your article may be directly linked to from |
299 |
other articles or other sites with an URL like |
other articles or other sites with an URL like |
300 |
<code>http://doc.linuxsampler.org/path/to/your/article/#conclusion_of_topic</code>. |
<code lang="none">http://doc.linuxsampler.org/path/to/your/article/#conclusion_of_topic</code>. |
301 |
If you want to override this behavior, because you rather want to use your |
If you want to override this behavior, because you rather want to use your |
302 |
own ID for a paragraph of your article, then simply set the desired ID with |
own ID for a paragraph of your article, then simply set the desired ID with |
303 |
your headline: |
your headline: |
304 |
</p> |
</p> |
305 |
<code> |
<code lang="html"> |
306 |
<h3 id="my_conclusion">Conclusion of topic</h3> |
<h3 id="my_conclusion">Conclusion of topic</h3> |
307 |
</code> |
</code> |
308 |
|
|
571 |
do that: simply put the code block into the paragraph text block of your |
do that: simply put the code block into the paragraph text block of your |
572 |
HTML file: |
HTML file: |
573 |
</p> |
</p> |
574 |
<code> |
<code lang="html"> |
575 |
<p> |
<p> |
576 |
A variable is assigned with NKSP like this <code>$foo := 5</code>, in this |
A variable is assigned with NKSP like this <code>$foo := 5</code>, in this |
577 |
case you are assigning <code>5</code> to the integer variable <code>$foo</code>. |
case you are assigning <code>5</code> to the integer variable <code>$foo</code>. |
602 |
|
|
603 |
<h3>Metaphors</h3> |
<h3>Metaphors</h3> |
604 |
<p> |
<p> |
605 |
You might have noticed, we have used a special kind of <code>??place-holder??</code> for |
You might have noticed, we have used a special kind of <code lang="html">??place-holder??</code> for |
606 |
human-readable portions in source code before, which shall outline to the reader |
human-readable portions in source code before, which shall outline to the reader |
607 |
that it is not actually "real" source code, but just reflecting its semantic meaning. |
that it is not actually "real" source code, but just reflecting its semantic meaning. |
608 |
Simply put the respective pseudo-code into a pair of two question marks, |
Simply put the respective pseudo-code into a pair of two question marks, |
609 |
like so: |
like so: |
610 |
</p> |
</p> |
611 |
<code> |
<code lang="html"> |
612 |
<code> |
<code> |
613 |
on init |
on init |
614 |
declare const $i = \?\?some-value\?\? |
declare const $i = \?\?some-value\?\? |
641 |
If you want to add links in your article to another article or to some |
If you want to add links in your article to another article or to some |
642 |
other website, then you just use an ordinary HTML link tag pair: |
other website, then you just use an ordinary HTML link tag pair: |
643 |
</p> |
</p> |
644 |
<code> |
<code lang="html"> |
645 |
<p> |
<p> |
646 |
This paragraph contains <a href="../nksp.html">a link to another article</a> |
This paragraph contains <a href="../nksp.html">a link to another article</a> |
647 |
and to <a href="http://www.linuxsampler.org">another website</a>. |
and to <a href="http://www.linuxsampler.org">another website</a>. |
671 |
An article file on our site usually has the following |
An article file on our site usually has the following |
672 |
file name form: |
file name form: |
673 |
</p> |
</p> |
674 |
<code> |
<code lang="none"> |
675 |
??number-prefix??_??unique-name??.html |
??number-prefix??_??unique-name??.html |
676 |
</code> |
</code> |
677 |
<p> |
<p> |
694 |
Technical terms and abbreviations are often used in articles to reduce |
Technical terms and abbreviations are often used in articles to reduce |
695 |
the amount of text for transmitting some kind of information about a |
the amount of text for transmitting some kind of information about a |
696 |
certain topic to the reader. You might want to emphasize technical terms and abbreviations |
certain topic to the reader. You might want to emphasize technical terms and abbreviations |
697 |
in your article, by wrapping the term into a pair of <code><i></code> HTML |
in your article, by wrapping the term into a pair of <code lang="html"><i></code> HTML |
698 |
tags. On our site this will not only show the term in a special unified |
tags. On our site this will not only show the term in a special unified |
699 |
font style (currently italic), but it allows you also to define the |
font style (currently italic), but it allows you also to define the |
700 |
meaning of the term <b>once</b>. Which goes like this: |
meaning of the term <b>once</b>. Which goes like this: |
704 |
<p> |
<p> |
705 |
You may define a new term like this: |
You may define a new term like this: |
706 |
</p> |
</p> |
707 |
<code> |
<code lang="html"> |
708 |
<p> |
<p> |
709 |
He left the bar and jumped right into his |
He left the bar and jumped right into his |
710 |
<i title="A very large vehicle.">Mega Liner</i> |
<i title="A very large vehicle.">Mega Liner</i> |