aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2020-10-27 11:48:44 +0100
committerhellekin <hellekin@cepheide.org>2020-10-27 11:48:44 +0100
commit8110b287a1b406ecffa6e8321b9048542f4d5ff1 (patch)
tree3529d2d99d3efa2f446b705fb2e115e2dc2fc4fe
parent383a840c50ca8f6df19677e93357e9dc6c0e043c (diff)
downloadincommon-map-8110b287a1b406ecffa6e8321b9048542f4d5ff1.tar.gz
User commonmarker gem
This adds support for Markdown for Resource descriptions. CommonMark: https://commonmark.org/ Gem documentation: https://gjtorikian.github.io/commonmarker/
-rw-r--r--Gemfile2
-rw-r--r--Gemfile.lock5
2 files changed, 7 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index 1897dd4..f094cc3 100644
--- a/Gemfile
+++ b/Gemfile
@@ -28,6 +28,8 @@ gem 'jbuilder', '~> 2.7'
gem 'acts_as_list'
# Use bitfields in models
gem 'bitfields'
+# Use Markdown for descriptions
+gem 'commonmarker'
# Use Discourse API
gem 'discourse_api'
# User pagination
diff --git a/Gemfile.lock b/Gemfile.lock
index aa16165..9d940e0 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -66,6 +66,8 @@ GEM
builder (3.2.4)
byebug (11.1.3)
coderay (1.1.3)
+ commonmarker (0.21.0)
+ ruby-enum (~> 0.5)
concurrent-ruby (1.1.7)
crass (1.0.6)
discourse_api (0.42.0)
@@ -170,6 +172,8 @@ GEM
rb-fsevent (0.10.4)
rb-inotify (0.10.1)
ffi (~> 1.0)
+ ruby-enum (0.8.0)
+ i18n
sass-rails (6.0.0)
sassc-rails (~> 2.1, >= 2.1.1)
sassc (2.4.0)
@@ -226,6 +230,7 @@ DEPENDENCIES
bitfields
bootsnap (>= 1.4.2)
byebug
+ commonmarker
discourse_api
jbuilder (~> 2.7)
kaminari