Christian Müller
b2fa8c3cdc
minor cleanups
2017-01-14 19:52:35 +01:00
Christian Müller
2ffc975568
code color scheme improved
2016-10-23 14:06:57 +02:00
Christian Müller
48c9ad65a5
padding to code blocks added
2016-08-03 21:47:38 +02:00
Christian Müller
fec02520b0
changelog
2016-08-03 21:27:54 +02:00
Christian Müller
234967b40d
Merge pull request #37 from maciejsmolinski/master
...
Hooks and Code Highlighting
2016-08-03 21:27:09 +02:00
Maciej Smolinski
f2c77b6c0e
Highlight: Keep highlighted code tags at 1.05em font-size.
2016-08-03 08:00:23 +02:00
Maciej Smolinski
7f0fefc900
Highlight: Increase the contrast between the text background and code background.
2016-08-03 07:54:34 +02:00
Maciej Smolinski
6879b08fd0
Highlight: Make hljs theme code easily readable.
2016-08-03 07:53:51 +02:00
Christian Müller
3810db4a61
extends robots.txt with ognoring edit, exports and stats
2016-08-02 22:06:25 +02:00
Maciej Smolinski
29d036c0fd
Highlight: Use default theme.
2016-08-01 19:57:51 +02:00
Maciej Smolinski
4676d46a15
Highlight: Inline highlight.js styles so even more transfer is saved and notes render faster.
2016-08-01 19:52:51 +02:00
Maciej Smolinski
0f618cd50f
Highlight: Apply some defaults to hljs themes (background, border radius).
2016-08-01 19:38:45 +02:00
Maciej Smolinski
dd2c69afdb
Highlight: As per PR comments - preview becomes static (back-end rendered), edit more dynamic. No hooks.
2016-08-01 19:15:42 +02:00
Maciej Smolinski
55bfeeb156
Highlight: Use lighter theme with good contrast.
2016-07-26 19:58:36 +02:00
Maciej Smolinski
dc7ecb7621
Highlight: Use highlight.js.
2016-07-26 19:32:48 +02:00
Maciej Smolinski
74ed0744ec
Highlight: Use marked options.
2016-07-26 18:21:06 +02:00
Maciej Smolinski
262202fbad
Styles: Prevent syntax-highlighted code from being over-sized.
2016-07-20 16:55:58 +02:00
Maciej Smolinski
38e6108000
Module: Use Prism own autoloader.
2016-07-20 09:42:22 +02:00
Maciej Smolinski
9690f717fe
Modules: Add code highlighting using hooks.
...
Achieved using Prism.js (MIT licensed) library and its language addons.
Website: http://prismjs.com/
2016-07-19 19:06:21 +02:00
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.
2016-07-19 19:03:20 +02:00
Christian Müller
f53962915d
minor improvement on landing
2016-07-02 18:17:19 +02:00
Christian Müller
ff801a6a58
CSS improved
2016-07-02 18:05:08 +02:00
Christian Müller
29200e6671
terms of service added
2016-07-02 17:24:23 +02:00
Christian Müller
8ccf7d5a71
Note deletion feature added
2016-03-21 11:16:35 +01:00
Christian Müller
f4a8e6d890
styling of /new fixed
2016-01-03 19:16:01 +01:00
Christian Müller
c09a137888
styling improved
2015-11-04 07:34:01 +01:00
Christian Müller
8b426e3c3b
styling bugfix
2015-11-03 18:54:30 +01:00
Christian Müller
2dee4a9d1d
tableau feature added to editing page; styling improved
2015-11-03 18:38:51 +01:00
Christian Müller
9acdf8c013
styling fixes for mobile
2015-11-03 15:45:19 +01:00
Christian Müller
cbbeadc4b0
styling fixes
2015-11-03 15:25:29 +01:00
Christian Müller
15bfde9a8c
preview added to the left
2015-11-03 12:45:40 +01:00
Christian Müller
2357caf598
styling simplified
2015-11-03 09:20:09 +01:00
Christian Müller
e852d3b3e5
draft autosave finished
2015-10-31 08:13:16 +01:00
Christian Müller
74fdc348a3
first version of the draft feature
2015-10-28 14:27:59 +01:00
Christian Müller
0a8c1b5fee
return arial rounded into headers
2015-10-23 20:56:13 +02:00
Christian Müller
50a12916b8
font simplification
2015-10-23 20:52:10 +02:00
Christian Müller
46d2f06036
styling refactoring
2015-10-20 12:39:51 +02:00
Christian Müller
93ef27e8a9
bugfix in styling media queries
2015-10-20 12:34:17 +02:00
Christian Müller
800ff44e76
minor styling improvements
2015-10-18 21:38:29 +02:00
Christian Müller
96494226ae
styling improved for mobile
2015-10-18 21:36:31 +02:00
Christian Müller
89e6a73552
landing news changed
2015-10-18 17:50:33 +02:00
Christian Müller
b3021f8ce3
styling fix
2015-10-18 17:23:52 +02:00
Christian Müller
c73eb8b553
/demo link added to the demo note
2015-10-18 13:36:07 +02:00
Christian Müller
3987998eb4
styling fix
2015-10-18 09:57:29 +02:00
Christian Müller
b078891190
/edit page implemented
2015-10-17 23:40:13 +02:00
Christian Müller
147b935a11
pre/code styling fix
2015-10-17 22:50:33 +02:00
Christian Müller
8cc0360c57
POST request parsing added
2015-10-17 21:57:56 +02:00
Christian Müller
3228de20f3
new css styles
2015-10-06 22:17:34 +02:00
Christian Müller
b05f103a37
/new page implemented
2015-10-06 22:06:36 +02:00
Christian Müller
da3535e06c
styling improved
2015-09-30 20:21:03 +02:00