Skip to content

Commit

Permalink
Minor, updating start notes
Browse files Browse the repository at this point in the history
  • Loading branch information
jusu committed Aug 6, 2018
1 parent 468b373 commit bb1a51a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 52 deletions.
2 changes: 1 addition & 1 deletion src/com/pinktwins/elephant/data/Settings.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public String description() {
case INLINE_PREVIEW:
return "Display inline previews for attachments that support it. Currently PDFs are shown inline in note editor. Each attachment can be folded/expanded using the fold/expand button and the folding state is saved per attachment. This default applies when attachment has not been manually folded/expanded.";
case MARKDOWN_STYLES:
return "Additional styles for Markdown display.<br/>For example, \"body { font-size: 22px; }\"";
return "Additional styles for Markdown display.<br/>For example, \"body { font-size: 22px; color: red; }\"";
case PASTE_PLAINTEXT:
return "When true, any text is pasted in plain text. Default is false.";
default:
Expand Down
50 changes: 0 additions & 50 deletions src/notes/Advanced_settings.txt
Original file line number Diff line number Diff line change
@@ -1,53 +1,3 @@
Elephant has a number of settings stored in JSON format in your home directory, in file ".com.pinktwins.elephant.settings".

Some of these settings are not exposed in Elephant's UI. Use any text editor to apply these settings:

{
"fontScale": 1.0,

Make all fonts small/bigger. Does not affect layouts so scaling too much will negatively affect appearance. Yet, scaling slightly can be helpful with high-res screens.

"pastePlaintext": true,

When true, any text is pasted in plain text. Default is false.

"autoBullet": 0,

Whether to automatically create lists when starting a line with * - or +
Default is 1 (for true).

"confirmDeleteFromTrash": true,

Confirm when deleting a note from Trash. Default is true.

"allowFilenameChars": "aeiouy",

Additional characters allowed in note's filename. The filename is based on note's title, and by default only a-z, A-Z, 0-9 and . - are allowed, other chars are converted to _.

"useLucene": 0,

Use Lucene for search indexing. 1 to enable, 0 to disable. Default is to use Lucene.
When lucene is disabled, a simple in-memory structure is used for searching. You should not need to care about this.

"defaultFiletype": "txt",

Default file type when creating a new note. Default is to create note files with .txt extension,
in plain text format. Change to "md" to create new notes in markdown format.

"charset": "UTF-8",

Force a specific character set for notes. Default is to use your system's default character set. Example is "UTF-8" to force UTF-8.

Note that Elephant doesn't convert your notes' character encodings - if you previously used non-ascii characters and change the character set, your notes might need to be converted to the new encoding to display correctly.

"inlinePreview": true,

Display inline previews for attachments that support it. Currently PDFs are shown inline in note editor.
Each attachment can be folded/expanded using the fold/expand button and the folding state is saved per attachment. This default applies when attachment has not been manually folded/expanded.

}


Other stuff

Disabling note preview in Note List
Expand Down
2 changes: 1 addition & 1 deletion src/notes/html_example.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h1>Baby Elephants</h1>
Here's a baby elephant:
<br>
</i></p>
<img src="http://elephant.mine.nu/baby.jpg" width="400px" height="604px"/>
<img src="https://pinktwins.com/elephant/baby.jpg" width="400px" height="604px"/>
<br><br>
</div>
</center>
Expand Down

0 comments on commit bb1a51a

Please sign in to comment.