You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some contributors add explicit links to their profiles at the bottom of the translated articles. However it is discouraged and simply not very convenient if the article was edited by several people. Every page has `Page Authors` link in its top - this link leads to the github commit history, so it is always easy to determine or prove the authorship (even of any single line). Just make sure that your GitHub profile (which is mentioned in history) provides enough information about you.
32
34
33
-
###Source format
35
+
##Source format
34
36
35
37
We use [Markdown](https://daringfireball.net/projects/markdown) for source texts and
36
38
convert them automatically to HTML.
@@ -44,11 +46,11 @@ And here is the formula in the separate block:
44
46
45
47
$$E = mc^{2}$$
46
48
47
-
###Some conventions
49
+
##Some conventions
48
50
49
51
* We have agreed as of issue [#83](https://github.com/e-maxx-eng/e-maxx-eng/issues/83) to express binomial coefficients with `\binom{n}{k}` instead of `C_n^k`. The first one renders as $\binom{n}{k}$ and is a more universal convention. The second would render as $C_n^k$.
50
52
51
-
###Adding images
53
+
##Adding images
52
54
53
55
Small images could be pushed along with texts to the [/img](https://github.com/e-maxx-eng/e-maxx-eng/tree/master/img) subfolder. Let them be in `PNG` format and less than `200kb`. Then you can refer to them inside the article with the tag:
54
56
@@ -58,7 +60,19 @@ Here `my-image.png` should be your file name, while `&imgroot&` is some magic wh
58
60
59
61
Larger images should be posted to some image-hosting, like [PostImage](http://postimage.org) or [ImgUr](http://imgur.com/) - they will then give you the url to insert into the page.
60
62
61
-
###Page Template
63
+
## Creating anchors and link to them
64
+
65
+
It is possible to generate HTLM anchors for sections of an article.
66
+
E.g. the following generates a header and a named anchor.
67
+
68
+
## Implementation ## {#implementation}
69
+
70
+
And then link to it from the same or a different article:
71
+
72
+
For more detail read the [Implementation](#implementation).
73
+
More infos in [Impl. of Segmenttree](./data_structures/segment_tree.html#implementation).
74
+
75
+
##Page Template
62
76
63
77
Template for the pages (the one which creates small violet header and footer, determines the layout of the text, includes css and js files) is now also stored in this repo, in [src/\_templates](https://github.com/e-maxx-eng/e-maxx-eng/tree/master/src/_templates) folder. So in case you find some bugs in it, or with the passing of time some new features may be needed in it - create PR to improve it. Note that for testing purposes the alternative template could be created and used for specific page with the inclusion of special comment as shown below:
0 commit comments