aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/org/pacien/pandoc/filter/plantuml
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/org/pacien/pandoc/filter/plantuml')
-rw-r--r--src/main/kotlin/org/pacien/pandoc/filter/plantuml/Filter.kt18
-rw-r--r--src/main/kotlin/org/pacien/pandoc/filter/plantuml/Latex.kt18
-rw-r--r--src/main/kotlin/org/pacien/pandoc/filter/plantuml/Main.kt18
-rw-r--r--src/main/kotlin/org/pacien/pandoc/filter/plantuml/PandocNode.kt18
-rw-r--r--src/main/kotlin/org/pacien/pandoc/filter/plantuml/PlantUml.kt18
5 files changed, 90 insertions, 0 deletions
diff --git a/src/main/kotlin/org/pacien/pandoc/filter/plantuml/Filter.kt b/src/main/kotlin/org/pacien/pandoc/filter/plantuml/Filter.kt
index 82a78b5..7440c86 100644
--- a/src/main/kotlin/org/pacien/pandoc/filter/plantuml/Filter.kt
+++ b/src/main/kotlin/org/pacien/pandoc/filter/plantuml/Filter.kt
@@ -1,3 +1,21 @@
1/*
2 * pandoc-filter-plantuml, a Pandoc AST filter rendering PlantUML diagrams
3 * Copyright (C) 2018 Pacien TRAN-GIRARD
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU Affero General Public License as
7 * published by the Free Software Foundation, either version 3 of the
8 * License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Affero General Public License for more details.
14 *
15 * You should have received a copy of the GNU Affero General Public License
16 * along with this program. If not, see <https://www.gnu.org/licenses/>.
17 */
18
1package org.pacien.pandoc.filter.plantuml 19package org.pacien.pandoc.filter.plantuml
2 20
3import com.fasterxml.jackson.databind.JsonNode 21import com.fasterxml.jackson.databind.JsonNode
diff --git a/src/main/kotlin/org/pacien/pandoc/filter/plantuml/Latex.kt b/src/main/kotlin/org/pacien/pandoc/filter/plantuml/Latex.kt
index 48ce087..a6c0452 100644
--- a/src/main/kotlin/org/pacien/pandoc/filter/plantuml/Latex.kt
+++ b/src/main/kotlin/org/pacien/pandoc/filter/plantuml/Latex.kt
@@ -1,3 +1,21 @@
1/*
2 * pandoc-filter-plantuml, a Pandoc AST filter rendering PlantUML diagrams
3 * Copyright (C) 2018 Pacien TRAN-GIRARD
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU Affero General Public License as
7 * published by the Free Software Foundation, either version 3 of the
8 * License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Affero General Public License for more details.
14 *
15 * You should have received a copy of the GNU Affero General Public License
16 * along with this program. If not, see <https://www.gnu.org/licenses/>.
17 */
18
1package org.pacien.pandoc.filter.plantuml 19package org.pacien.pandoc.filter.plantuml
2 20
3fun Sequence<String>.toLatex() = Latex(this) 21fun Sequence<String>.toLatex() = Latex(this)
diff --git a/src/main/kotlin/org/pacien/pandoc/filter/plantuml/Main.kt b/src/main/kotlin/org/pacien/pandoc/filter/plantuml/Main.kt
index 1ebe8f9..8db7043 100644
--- a/src/main/kotlin/org/pacien/pandoc/filter/plantuml/Main.kt
+++ b/src/main/kotlin/org/pacien/pandoc/filter/plantuml/Main.kt
@@ -1,3 +1,21 @@
1/*
2 * pandoc-filter-plantuml, a Pandoc AST filter rendering PlantUML diagrams
3 * Copyright (C) 2018 Pacien TRAN-GIRARD
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU Affero General Public License as
7 * published by the Free Software Foundation, either version 3 of the
8 * License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Affero General Public License for more details.
14 *
15 * You should have received a copy of the GNU Affero General Public License
16 * along with this program. If not, see <https://www.gnu.org/licenses/>.
17 */
18
1package org.pacien.pandoc.filter.plantuml 19package org.pacien.pandoc.filter.plantuml
2 20
3fun main(args: Array<String>) { 21fun main(args: Array<String>) {
diff --git a/src/main/kotlin/org/pacien/pandoc/filter/plantuml/PandocNode.kt b/src/main/kotlin/org/pacien/pandoc/filter/plantuml/PandocNode.kt
index 8b3ddde..edf122b 100644
--- a/src/main/kotlin/org/pacien/pandoc/filter/plantuml/PandocNode.kt
+++ b/src/main/kotlin/org/pacien/pandoc/filter/plantuml/PandocNode.kt
@@ -1,3 +1,21 @@
1/*
2 * pandoc-filter-plantuml, a Pandoc AST filter rendering PlantUML diagrams
3 * Copyright (C) 2018 Pacien TRAN-GIRARD
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU Affero General Public License as
7 * published by the Free Software Foundation, either version 3 of the
8 * License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Affero General Public License for more details.
14 *
15 * You should have received a copy of the GNU Affero General Public License
16 * along with this program. If not, see <https://www.gnu.org/licenses/>.
17 */
18
1package org.pacien.pandoc.filter.plantuml 19package org.pacien.pandoc.filter.plantuml
2 20
3import com.fasterxml.jackson.databind.JsonNode 21import com.fasterxml.jackson.databind.JsonNode
diff --git a/src/main/kotlin/org/pacien/pandoc/filter/plantuml/PlantUml.kt b/src/main/kotlin/org/pacien/pandoc/filter/plantuml/PlantUml.kt
index 2a8da1b..135cf0b 100644
--- a/src/main/kotlin/org/pacien/pandoc/filter/plantuml/PlantUml.kt
+++ b/src/main/kotlin/org/pacien/pandoc/filter/plantuml/PlantUml.kt
@@ -1,3 +1,21 @@
1/*
2 * pandoc-filter-plantuml, a Pandoc AST filter rendering PlantUML diagrams
3 * Copyright (C) 2018 Pacien TRAN-GIRARD
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU Affero General Public License as
7 * published by the Free Software Foundation, either version 3 of the
8 * License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Affero General Public License for more details.
14 *
15 * You should have received a copy of the GNU Affero General Public License
16 * along with this program. If not, see <https://www.gnu.org/licenses/>.
17 */
18
1package org.pacien.pandoc.filter.plantuml 19package org.pacien.pandoc.filter.plantuml
2 20
3import net.sourceforge.plantuml.FileFormat 21import net.sourceforge.plantuml.FileFormat