Documentation
¶
Index ¶
- Constants
- Variables
- func GetNotesFileName() (string, error)
- func WriteBashScript(w io.Writer)
- func WriteContents(w io.Writer, r io.Reader, title string)
- func WriteFirstCmdLineBlock(w io.Writer, r io.Reader, title string)
- func WriteFirstURL(w io.Writer, r io.Reader, title string)
- func WriteNoteLocation(w io.Writer, file *os.File, title string)
- func WriteTitles(w io.Writer, r io.Reader)
- type Filter
Constants ¶
View Source
const ( Normal = iota Fenced Scoped ScopedFenced )
State of text line.
View Source
const DefaultNotesFile = "fcnotes.md"
Variables ¶
View Source
var BashTemplate string
Functions ¶
func GetNotesFileName ¶
GetNotesFileName returns the filename of the notes.
func WriteBashScript ¶ added in v0.3.0
func WriteContents ¶
WriteContents writes the contents of the note.
func WriteFirstCmdLineBlock ¶ added in v0.3.0
WriteFirstCmdLineBlock writes the first command-line block in the contents of the note.
func WriteFirstURL ¶
WriteFirstURL writes the first URL in the contents of the note.
func WriteNoteLocation ¶
WriteNoteLocation writes the file name and line number of the note.
Types ¶
Click to show internal directories.
Click to hide internal directories.