aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpacien2018-07-31 21:24:36 +0200
committerpacien2018-07-31 21:35:00 +0200
commit8f204f6ab8bf78bfae13faf14da95e1e6d14689e (patch)
tree9e49e69b22c0a928601166b6e706509c492def13 /src
parent4ade5c1b8c43e0c578cab4b26811eff945a13402 (diff)
downloadpandoc-filter-plantuml-8f204f6ab8bf78bfae13faf14da95e1e6d14689e.tar.gz
Succumb to paranoiaHEADmaster
Diffstat (limited to 'src')
-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
-rw-r--r--src/test/kotlin/org/pacien/pandoc/filter/plantuml/FilterTest.kt18
6 files changed, 108 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
diff --git a/src/test/kotlin/org/pacien/pandoc/filter/plantuml/FilterTest.kt b/src/test/kotlin/org/pacien/pandoc/filter/plantuml/FilterTest.kt
index 4ec183b..557daae 100644
--- a/src/test/kotlin/org/pacien/pandoc/filter/plantuml/FilterTest.kt
+++ b/src/test/kotlin/org/pacien/pandoc/filter/plantuml/FilterTest.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 org.junit.Assert 21import org.junit.Assert