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.11 ext/commonmarker/core-extensions.c
markly-0.12.1 ext/markly/core-extensions.c
markly-0.12.0 ext/markly/core-extensions.c
markly-0.11.0 ext/markly/core-extensions.c
markly-0.10.0 ext/markly/core-extensions.c
markly-0.9.1 ext/markly/core-extensions.c
commonmarker-0.23.10 ext/commonmarker/core-extensions.c
markly-0.9.0 ext/markly/core-extensions.c
markly-0.8.1 ext/markly/core-extensions.c
markly-0.8.0 ext/markly/core-extensions.c
commonmarker-0.23.9 ext/commonmarker/core-extensions.c
commonmarker-0.23.8 ext/commonmarker/core-extensions.c
commonmarker-0.23.7 ext/commonmarker/core-extensions.c
commonmarker-0.23.7.pre1 ext/commonmarker/core-extensions.c
commonmarker-0.23.6 ext/commonmarker/core-extensions.c
commonmarker-0.23.5 ext/commonmarker/core-extensions.c
commonmarker-0.23.4 ext/commonmarker/core-extensions.c
mountapi-0.11.1 vendor/bundle/ruby/2.7.0/gems/commonmarker-0.23.2/ext/commonmarker/core-extensions.c
markly-0.7.0 ext/markly/core-extensions.c
qiita_marker-0.23.2.0 ext/qiita_marker/core-extensions.c