Christian Müller
3810db4a61
extends robots.txt with ognoring edit, exports and stats
10 years ago
Maciej Smolinski
29d036c0fd
Highlight: Use default theme.
10 years ago
Maciej Smolinski
4676d46a15
Highlight: Inline highlight.js styles so even more transfer is saved and notes render faster.
10 years ago
Maciej Smolinski
0f618cd50f
Highlight: Apply some defaults to hljs themes (background, border radius).
10 years ago
Maciej Smolinski
093b0c95e1
Highlight: Use `tomorrow` (light) theme.
10 years ago
Maciej Smolinski
dd2c69afdb
Highlight: As per PR comments - preview becomes static (back-end rendered), edit more dynamic. No hooks.
10 years ago
Maciej Smolinski
55bfeeb156
Highlight: Use lighter theme with good contrast.
10 years ago
Maciej Smolinski
032b088529
Highlight: Node.js highlighting.
10 years ago
Maciej Smolinski
dc7ecb7621
Highlight: Use highlight.js.
10 years ago
Maciej Smolinski
74ed0744ec
Highlight: Use marked options.
10 years ago
Maciej Smolinski
262202fbad
Styles: Prevent syntax-highlighted code from being over-sized.
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
e902fc3a26
logging improved
10 years ago
Christian Müller
f53962915d
minor improvement on landing
10 years ago
Christian Müller
ff801a6a58
CSS improved
10 years ago
Christian Müller
1826b36ad9
update BL at start
10 years ago
Christian Müller
5be54f3b29
interval changed
10 years ago
Christian Müller
8ee00da09a
black listing improved
10 years ago
Christian Müller
d2b6a93b82
Makefile added
10 years ago
Christian Müller
adeaef31da
wording
10 years ago
Christian Müller
b42e817b02
wording
10 years ago
Christian Müller
b207b7077d
tos link added to the footer
10 years ago
Christian Müller
29200e6671
terms of service added
10 years ago
Christian Müller
5fe62f2b47
standalone running instractions added
10 years ago
Christian Müller
69d8af1171
minor improvement
10 years ago
AminaG
11316c8e0a
Add base target tag
10 years ago
Christian Müller
596e894e5d
misuse prevention extended
10 years ago
Christian Müller
3343f88cf9
file renamed
10 years ago
Christian Müller
a426570b2f
minor template update
10 years ago
Christian Müller
60bd77171a
misuse prevention mechanism added
10 years ago
Christian Müller
8ccf7d5a71
Note deletion feature added
10 years ago
Christian Müller
d78cb0412b
Remove dependencies from README
10 years ago
Christian Müller
ca16024dd6
README extended
10 years ago
Christian Müller
59012329b7
LICENSE file added
10 years ago
Christian Müller
a702753164
logs improved
10 years ago
Christian Müller
d57ed022dc
minor stats bugfix
10 years ago
Christian Müller
f4a8e6d890
styling of /new fixed
10 years ago
Christian Müller
ac9f431fe2
show the referrer
10 years ago
Christian Müller
c09a137888
styling improved
10 years ago
Christian Müller
8b426e3c3b
styling bugfix
10 years ago
Christian Müller
2dee4a9d1d
tableau feature added to editing page; styling improved
10 years ago
Christian Müller
9acdf8c013
styling fixes for mobile
10 years ago
Christian Müller
cbbeadc4b0
styling fixes
10 years ago
Christian Müller
15bfde9a8c
preview added to the left
10 years ago
Christian Müller
2357caf598
styling simplified
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
0a8c1b5fee
return arial rounded into headers
10 years ago