mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-08 08:01:02 -04:00
normalized 3rd level headings and adapted the max-width of the body
This commit is contained in:
parent
7e1ccd3f4e
commit
7f41529dbf
3 changed files with 39 additions and 36 deletions
|
@ -283,7 +283,7 @@ Things in context:
|
|||
This hook is called on the client side whenever a user joins or changes. This
|
||||
can be used to create notifications or an alternate user list.
|
||||
|
||||
=== `chatNewMessage`
|
||||
=== chatNewMessage
|
||||
|
||||
Called from: `src/static/js/chat.js`
|
||||
|
||||
|
@ -319,7 +319,7 @@ Context properties:
|
|||
* `duration`: How long (in milliseconds) to display the gritter notification (0
|
||||
to disable).
|
||||
|
||||
=== `chatSendMessage`
|
||||
=== chatSendMessage
|
||||
|
||||
Called from: `src/static/js/chat.js`
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ Things in context:
|
|||
|
||||
If this hook returns an error, the callback to the install function gets an error, too. This seems useful for adding in features when a particular plugin is installed.
|
||||
|
||||
=== `init_<plugin name>`
|
||||
=== init_<plugin name>
|
||||
|
||||
Called from: `src/static/js/pluginfw/plugins.js`
|
||||
|
||||
|
@ -62,7 +62,7 @@ Context properties:
|
|||
* `logger`: An object with the following `console`-like methods: `debug`,
|
||||
`info`, `log`, `warn`, `error`.
|
||||
|
||||
=== `expressPreSession`
|
||||
=== expressPreSession
|
||||
|
||||
Called from: `src/node/hooks/express.js`
|
||||
|
||||
|
@ -92,7 +92,7 @@ exports.expressPreSession = async (hookName, {app}) => {
|
|||
};
|
||||
----
|
||||
|
||||
=== `expressConfigure`
|
||||
=== expressConfigure
|
||||
|
||||
Called from: `src/node/hooks/express.js`
|
||||
|
||||
|
@ -107,7 +107,7 @@ Context properties:
|
|||
* `app`: The Express https://expressjs.com/en/4x/api.html==app[Application]
|
||||
object.
|
||||
|
||||
=== `expressCreateServer`
|
||||
=== expressCreateServer
|
||||
|
||||
Called from: `src/node/hooks/express.js`
|
||||
|
||||
|
@ -210,7 +210,7 @@ Things in context:
|
|||
This hook gets called when the access to the concrete pad is being checked.
|
||||
Return `false` to deny access.
|
||||
|
||||
=== `getAuthorId`
|
||||
=== getAuthorId
|
||||
|
||||
Called from `src/node/db/AuthorManager.js`
|
||||
|
||||
|
@ -267,7 +267,7 @@ exports.getAuthorId = async (hookName, context) => {
|
|||
};
|
||||
----
|
||||
|
||||
=== `padCreate`
|
||||
=== padCreate
|
||||
|
||||
Called from: `src/node/db/Pad.js`
|
||||
|
||||
|
@ -279,7 +279,7 @@ Context properties:
|
|||
* `authorId`: The ID of the author who created the pad.
|
||||
* `author` (**deprecated**): Synonym of `authorId`.
|
||||
|
||||
=== `padDefaultContent`
|
||||
=== padDefaultContent
|
||||
|
||||
Called from `src/node/db/Pad.js`
|
||||
|
||||
|
@ -304,7 +304,7 @@ Context properties:
|
|||
be updated to match. Plugins must check the value of the `type` property
|
||||
before reading this value.
|
||||
|
||||
=== `padLoad`
|
||||
=== padLoad
|
||||
|
||||
Called from: `src/node/db/PadManager.js`
|
||||
|
||||
|
@ -315,7 +315,7 @@ Context properties:
|
|||
* `pad`: The Pad object.
|
||||
|
||||
[#_padupdate]
|
||||
=== `padUpdate`
|
||||
=== padUpdate
|
||||
|
||||
Called from: `src/node/db/Pad.js`
|
||||
|
||||
|
@ -329,7 +329,7 @@ Context properties:
|
|||
* `revs`: The index of the new revision.
|
||||
* `changeset`: The changeset of this revision (see <<_padupdate>>).
|
||||
|
||||
=== `padCopy`
|
||||
=== padCopy
|
||||
|
||||
Called from: `src/node/db/Pad.js`
|
||||
|
||||
|
@ -355,7 +355,7 @@ Usage examples:
|
|||
|
||||
* https://github.com/ether/ep_comments_page
|
||||
|
||||
=== `padRemove`
|
||||
=== padRemove
|
||||
|
||||
Called from: `src/node/db/Pad.js`
|
||||
|
||||
|
@ -370,7 +370,7 @@ Usage examples:
|
|||
|
||||
* https://github.com/ether/ep_comments_page
|
||||
|
||||
=== `padCheck`
|
||||
=== padCheck
|
||||
|
||||
Called from: `src/node/db/Pad.js`
|
||||
|
||||
|
@ -393,7 +393,7 @@ Things in context:
|
|||
|
||||
I have no idea what this is useful for, someone else will have to add this description.
|
||||
|
||||
=== `preAuthorize`
|
||||
=== preAuthorize
|
||||
|
||||
Called from: `src/node/hooks/express/webaccess.js`
|
||||
|
||||
|
@ -700,7 +700,7 @@ exports.authzFailure = (hookName, context, cb) => {
|
|||
};
|
||||
----
|
||||
|
||||
=== `handleMessage`
|
||||
=== handleMessage
|
||||
|
||||
Called from: `src/node/handler/PadMessageHandler.js`
|
||||
|
||||
|
@ -733,7 +733,7 @@ exports.handleMessage = async (hookName, {message, socket}) => {
|
|||
};
|
||||
----
|
||||
|
||||
=== `handleMessageSecurity`
|
||||
=== handleMessageSecurity
|
||||
|
||||
Called from: `src/node/handler/PadMessageHandler.js`
|
||||
|
||||
|
@ -819,7 +819,7 @@ exports.clientVars = (hookName, context, callback) => {
|
|||
};
|
||||
----
|
||||
|
||||
=== `getLineHTMLForExport`
|
||||
=== getLineHTMLForExport
|
||||
|
||||
Called from: `src/node/utils/ExportHtml.js`
|
||||
|
||||
|
@ -968,7 +968,7 @@ exports.exportHtmlAdditionalTagsWithData = function(hook, pad, cb){
|
|||
};
|
||||
----
|
||||
|
||||
=== `exportEtherpadAdditionalContent`
|
||||
=== exportEtherpadAdditionalContent
|
||||
|
||||
Called from `src/node/utils/ExportEtherpad.js` and
|
||||
`src/node/utils/ImportEtherpad.js`.
|
||||
|
@ -990,7 +990,7 @@ Example:
|
|||
exports.exportEtherpadAdditionalContent = () => ['comments'];
|
||||
----
|
||||
|
||||
=== `exportEtherpad`
|
||||
=== exportEtherpad
|
||||
|
||||
Called from `src/node/utils/ExportEtherpad.js`.
|
||||
|
||||
|
@ -1013,7 +1013,7 @@ Context properties:
|
|||
should not assume that it is either the pad's real writable ID or its
|
||||
read-only ID.
|
||||
|
||||
=== `importEtherpad`
|
||||
=== importEtherpad
|
||||
|
||||
Called from `src/node/utils/ImportEtherpad.js`.
|
||||
|
||||
|
@ -1032,7 +1032,7 @@ Context properties:
|
|||
modified.
|
||||
* `srcPadId`: The pad ID used for the pad-specific information in `data`.
|
||||
|
||||
=== `import`
|
||||
=== import
|
||||
|
||||
Called from: `src/node/handler/ImportHandler.js`
|
||||
|
||||
|
@ -1062,7 +1062,7 @@ exports.import = async (hookName, {fileEnding, ImportError}) => {
|
|||
};
|
||||
----
|
||||
|
||||
=== `userJoin`
|
||||
=== userJoin
|
||||
|
||||
Called from: `src/node/handler/PadMessageHandler.js`
|
||||
|
||||
|
@ -1086,7 +1086,7 @@ exports.userJoin = async (hookName, {authorId, displayName, padId}) => {
|
|||
};
|
||||
```
|
||||
|
||||
=== `userLeave`
|
||||
=== userLeave
|
||||
|
||||
Called from: `src/node/handler/PadMessageHandler.js`
|
||||
|
||||
|
@ -1110,7 +1110,7 @@ exports.userLeave = async (hookName, {author, padId}) => {
|
|||
};
|
||||
----
|
||||
|
||||
=== `chatNewMessage`
|
||||
=== chatNewMessage
|
||||
|
||||
Called from: `src/node/handler/PadMessageHandler.js`
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
body {
|
||||
border-top: solid #44b492 5pt;
|
||||
line-height:150%;
|
||||
font-family: 'Quicksand',sans-serif;
|
||||
line-height: 150%;
|
||||
font-family: "Quicksand", sans-serif;
|
||||
color: #313b4a;
|
||||
max-width:800px;
|
||||
max-width: 1440px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
}
|
||||
|
@ -12,24 +12,25 @@ a {
|
|||
color: #555;
|
||||
}
|
||||
|
||||
h1,h2 {
|
||||
h1,
|
||||
h2 {
|
||||
color: #44b492;
|
||||
line-height:100%;
|
||||
line-height: 100%;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 48px ;
|
||||
font-size: 48px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.8rem;
|
||||
}
|
||||
|
||||
h4{
|
||||
h4 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
h5{
|
||||
h5 {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
|
@ -39,7 +40,7 @@ a:hover {
|
|||
|
||||
pre {
|
||||
background-color: #e0e0e0;
|
||||
padding:20px;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
code {
|
||||
|
@ -50,7 +51,9 @@ img {
|
|||
max-width: 100%;
|
||||
}
|
||||
|
||||
table, th, td {
|
||||
table,
|
||||
th,
|
||||
td {
|
||||
text-align: left;
|
||||
border: 1px solid gray;
|
||||
border-collapse: collapse;
|
||||
|
@ -58,7 +61,7 @@ table, th, td {
|
|||
|
||||
th {
|
||||
padding: 0.5em;
|
||||
background: #EEE;
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
td {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue