Sha256: 281a5514746d541eea3a26c6ce55d35c9594d62661396a458b4385be698436a2

Contents?: true

Size: 904 Bytes

Versions: 43

Compression:

Stored size: 904 Bytes

Contents

#include "cmark-gfm-core-extensions.h"
#include "autolink.h"
#include "strikethrough.h"
#include "table.h"
#include "tagfilter.h"
#include "tasklist.h"
#include "registry.h"
#include "plugin.h"

static int core_extensions_registration(cmark_plugin *plugin) {
  cmark_plugin_register_syntax_extension(plugin, create_table_extension());
  cmark_plugin_register_syntax_extension(plugin,
                                         create_strikethrough_extension());
  cmark_plugin_register_syntax_extension(plugin, create_autolink_extension());
  cmark_plugin_register_syntax_extension(plugin, create_tagfilter_extension());
  cmark_plugin_register_syntax_extension(plugin, create_tasklist_extension());
  return 1;
}

void cmark_gfm_core_extensions_ensure_registered(void) {
  static int registered = 0;

  if (!registered) {
    cmark_register_plugin(core_extensions_registration);
    registered = 1;
  }
}

Version data entries

43 entries across 43 versions & 5 rubygems

Version Path
commonmarker-0.23.2 ext/commonmarker/core-extensions.c
commonmarker-0.23.1 ext/commonmarker/core-extensions.c
markly-0.6.1 ext/markly/core-extensions.c
commonmarker-0.23.0 ext/commonmarker/core-extensions.c
markly-0.6.0 ext/markly/core-extensions.c
commonmarker-0.22.0 ext/commonmarker/core-extensions.c
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/commonmarker-0.21.2/ext/commonmarker/core-extensions.c
commonmarker-0.21.2 ext/commonmarker/core-extensions.c
commonmarker-0.21.1 ext/commonmarker/core-extensions.c
markly-0.5.2 ext/markly/core-extensions.c
markly-0.5.1 ext/markly/core-extensions.c
markly-0.5.0 ext/markly/core-extensions.c
markly-0.4.0 ext/markly/core-extensions.c
markly-0.3.0 ext/markly/core-extensions.c
markly-0.2.2 ext/markly/core-extensions.c
markly-0.2.1 ext/markly/core-extensions.c
markly-0.2.0 ext/markly/core-extensions.c
markly-0.1.0 ext/markly/core-extensions.c
commonmarker-0.21.0 ext/commonmarker/core-extensions.c
commonmarker-0.20.2 ext/commonmarker/core-extensions.c