Add a test org-mode document that shows backslashes before a line break create an explicit line break.
This line break appears in the output (for example a <br> in HTML) as opposed to the line breaks in paragraphs syntactically that get reduced to a single space on the same line.
This commit is contained in:
parent
87c4a955af
commit
fd45e4381c
23
org_mode_samples/paragraphs/Makefile
Normal file
23
org_mode_samples/paragraphs/Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
SHELL := bash
|
||||
.ONESHELL:
|
||||
.SHELLFLAGS := -eu -o pipefail -c
|
||||
.DELETE_ON_ERROR:
|
||||
MAKEFLAGS += --warn-undefined-variables
|
||||
MAKEFLAGS += --no-builtin-rules
|
||||
SRCFILES := $(wildcard *.org)
|
||||
OUTFILES := $(patsubst %.org,%.tree.txt,$(SRCFILES))
|
||||
|
||||
ifeq ($(origin .RECIPEPREFIX), undefined)
|
||||
$(error This Make does not support .RECIPEPREFIX. Please use GNU Make 4.0 or later)
|
||||
endif
|
||||
.RECIPEPREFIX = >
|
||||
|
||||
.PHONY: all
|
||||
all: $(OUTFILES)
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
> rm -rf $(OUTFILES)
|
||||
|
||||
%.tree.txt: %.org ../common.el ../dump_org_ast.bash
|
||||
> ../dump_org_ast.bash $< $@
|
@ -0,0 +1,7 @@
|
||||
This is a paragraph
|
||||
|
||||
This is another paragraph
|
||||
This is a second line in that paragraph
|
||||
|
||||
This is a third paragraph \\
|
||||
This is a second line in that paragraph
|
Loading…
Reference in New Issue
Block a user