Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gitlab-pages
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
templates
gitlab-pages
Commits
bcb18d6c
Commit
bcb18d6c
authored
5 months ago
by
Felix Drees
Browse files
Options
Downloads
Patches
Plain Diff
Who knows WTF?!
parent
2a70edd9
No related branches found
No related tags found
No related merge requests found
Pipeline
#359744
canceled
5 months ago
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+7
-1
7 additions, 1 deletion
.gitlab-ci.yml
note.org
+63
-0
63 additions, 0 deletions
note.org
public/hello.txt
+1
-0
1 addition, 0 deletions
public/hello.txt
with
71 additions
and
1 deletion
.gitlab-ci.yml
+
7
−
1
View file @
bcb18d6c
---
image
:
debian:latest
include
:
-
project
:
templates/ci/common
ref
:
main
file
:
'
pipelines/pages.yml'
before_script
:
-
apt-get update -y && apt-get install -y emacs
-
emacs -batch note.org -f org-html-export-to-html --kill
-
emacs -batch note.org -f org-ascii-export-to-ascii --kill
# - echo "<h1>$CI_PROJECT_NAME gitlab page</h1>" > ./index.html
-
mkdir -p ./public
-
mv ./*.html ./public
-
mv ./*.html
./*.txt
./public
This diff is collapsed.
Click to expand it.
note.org
0 → 100644
+
63
−
0
View file @
bcb18d6c
# emacs note -*- mode: org; coding: utf-8; -*-
:properties:
#+OPTIONS: html-style:nil
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="https://fniessen.github.io/org-html-themes/src/readtheorg_theme/css/htmlize.css"/>
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="https://fniessen.github.io/org-html-themes/src/readtheorg_theme/css/readtheorg.css"/>
#+EXPORT_FILE_NAME: emacs-note
:end:
#+TITLE: Introduction to Emacs and Org Mode
#+AUTHOR: Bob
#+DATE: {{{time(%Y-%m-%dT%H:%M:%S%z)}}}
* Introduction
Emacs is a highly customizable text editor that's popular among computer scientists and programmers.
It provides a versatile environment for coding, project management, and note-taking.
Org Mode is a powerful extension within Emacs, designed for organizing notes, tasks, and projects in a structured way.
* Key Features
** Text Editing
Emacs offers advanced text editing capabilities, including:
- Syntax highlighting
- Auto-completion
- Code snippets
** Org Mode
Org Mode provides tools for:
- Task management (TODO lists, deadlines)
- Document structuring (headings, subheadings)
- Exporting to multiple formats (HTML, PDF, etc.)
* Getting Started
** Installation
1. Install Emacs from [https://www.gnu.org/software/emacs/](https://www.gnu.org/software/emacs/)
2. Add Org Mode configuration to your Emacs init file:
```emacs-lisp
;; Enable Org Mode
(require 'org)
```
** Basic Usage
Create a new Org Mode file: C-x C-f myfile.org
Insert a heading: * Heading 1
Create a TODO item: C-c C-t
Check off a TODO: C-c C-t (cycles through TODO/DONE states)
Resources
[[https://orgmode.org/][Org Mode Official Website]]
[[https://emacsrocks.com/][Emacs Rocks! Video Tutorials]]
[[https://emacswiki.org/][Emacs Wiki]]
Conclusion Emacs, combined with Org Mode, offers a powerful toolset for managing code, notes, and tasks.
It’s a must-have for any computer scientist looking to streamline their workflow.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
public/hello.txt
0 → 100644
+
1
−
0
View file @
bcb18d6c
hello
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment