Maciej Smolinski
74ed0744ec
Highlight: Use marked options.
10 years ago
Maciej Smolinski
38e6108000
Module: Use Prism own autoloader.
10 years ago
Maciej Smolinski
9690f717fe
Modules: Add code highlighting using hooks.
...
Achieved using Prism.js (MIT licensed) library and its language addons.
Website: http://prismjs.com/
10 years ago
Maciej Smolinski
e25926619e
Events: Allow for easier application extension with hook points.
...
How does it work?
Every time someone wants to extend the application, instead of modifying original `publishing.js` file, he or she can subscribe to given events, e.g.
Scenario: Table Of Contents extension
```
// resources/public/js/toc.js
events.subscribe('content:rendered', function () {
// Prepend table of contents in edit mode on updates
});
events.subscribe('document:loaded', function () {
// Prepend table of contents on initial load in edit view and preview
});
```
Now, having structured way to hook into app allows to keep the main codebase maintainable and pretty stable and extremely extensible at the same time.
10 years ago
Christian Müller
29200e6671
terms of service added
10 years ago
Christian Müller
8ccf7d5a71
Note deletion feature added
10 years ago
Christian Müller
2dee4a9d1d
tableau feature added to editing page; styling improved
10 years ago
Christian Müller
15bfde9a8c
preview added to the left
10 years ago
Christian Müller
e852d3b3e5
draft autosave finished
10 years ago
Christian Müller
74fdc348a3
first version of the draft feature
10 years ago
Christian Müller
b078891190
/edit page implemented
10 years ago
Christian Müller
8cc0360c57
POST request parsing added
10 years ago
Christian Müller
b05f103a37
/new page implemented
10 years ago
Christian Müller
da3535e06c
styling improved
10 years ago
Christian Müller
aad64bc256
expected note title feature added
11 years ago
Christian Müller
d353a746ea
md5 lib eliminated
11 years ago
Christian Müller
731f299efe
theming moved to server side due to unreliability of less.js
11 years ago
Christian Müller
604b0e5698
bugfix
11 years ago
Christian Müller
fd917dcce5
bugfix
11 years ago
Christian Müller
10a55121f4
rollback to previous styling solution
11 years ago
Christian Müller
1cd2b9e181
newest less.js version used
11 years ago
Christian Müller
63eb55b827
bugfix
11 years ago
Christian Müller
709cc9347b
further theming simplification
11 years ago
Christian Müller
ea16c6dc07
footer styling implemented using flexbox
11 years ago
Christian Müller
b918f97d17
start time imrpovements; removing local js files
11 years ago
Christian Müller
3a40e00a2a
styling fixed
11 years ago
Christian Müller
ab41d82cf5
styling delay fixed
11 years ago
Christian Müller
801477ef6b
upgrade less.js, marked.js
11 years ago
Christian Müller
dccf9e3966
header size setting added
11 years ago
Christian Müller
0dfbfc0824
all urls changes to https
11 years ago
Christian Mueller
36158191bc
google analytics removed
11 years ago
Christian Müller
2aebc91b6e
landing page simplified
11 years ago
Christian Mueller
b0920d9e2e
font-size -> text-size
11 years ago
Christian Mueller
72e36acfd2
font size option added
11 years ago
Christian Mueller
6557de2fdf
excluded heavy js where not necessary
12 years ago
Christian Mueller
c3980a325c
translating MD on the server side now
12 years ago
Christian Mueller
5566936e5c
bugfix
12 years ago
Christian Mueller
144218ecc2
bugfix: signature computation was broken for multiline texts
12 years ago
Christian Mueller
8a219376e5
minor style improvement
12 years ago
Christian Mueller
1800397fcf
sanitizing added
12 years ago
Christian Mueller
c0ac559608
links moved to the page bottom
12 years ago
Christian Mueller
8a6eadf79a
fonts are loadedsynchronously now
12 years ago
Christian Mueller
5bb42baf80
escaping bug fixed
12 years ago
Christian Mueller
d117a582df
stylig bug fixed
12 years ago
Christian Mueller
af7b94ddfe
rollback of 2fff40f
12 years ago
Christian Mueller
2fff40f20f
escaping bug
12 years ago
Christian Mueller
226d8133da
theming moved to JS completely
12 years ago
Christian Mueller
c84909d891
last bugs fixed
12 years ago
Christian Mueller
2835537d3d
bugfix: no posting possible when password specified
12 years ago
Christian Mueller
fa3a93ee4a
another md5 implementation used
12 years ago